From 7bc762a4b12a9bd7a039d4c5ecb7419c063f51a5 Mon Sep 17 00:00:00 2001 From: kramm Date: Sat, 5 Feb 2005 19:41:55 +0000 Subject: [PATCH] fixed swf_SetPassword() bug. --- lib/rfxswf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rfxswf.c b/lib/rfxswf.c index dbf0cd6..1950487 100644 --- a/lib/rfxswf.c +++ b/lib/rfxswf.c @@ -782,6 +782,7 @@ void swf_SetPassword(TAG * t, const char * password) fprintf(stderr, "rfxswf: Warning- no usable random generator found\n"); fprintf(stderr, "Your password will be vulnerable to dictionary attacks\n"); #endif + salt[2] = 0; md5string = crypt_md5(password, salt); -- 1.7.10.4