tags 368010 + patch
thanks
This is a quick fix for the problem, it simply checks the length of the
password and discards it if it is too short.
--
David Watson
Lugmaster, Programmer, Bass Player
http://planetwatson.co.uk/blog
http://liverpool.lug.org.uk
IM(jabber): [EMAIL PROTECTED]
--- pw_rand.c.orig 2005-06-15 01:18:36.0 +0100
+++ pw_rand.c 2006-09-24 22:43:29.0 +0100
@@ -72,6 +72,9 @@
if (strchr(pw_symbols, ch))
feature_flags = ~PW_SYMBOLS;
}
+ if (size != strlen(buf)) {
+ goto try_again;
+ }
if (feature_flags (PW_UPPERS | PW_DIGITS | PW_SYMBOLS))
goto try_again;
buf[size] = 0;
pgpqith46r8sX.pgp
Description: PGP signature