X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Frfxswf.c;h=19504879741195c56bc87d585f90834895f64b15;hb=7bc762a4b12a9bd7a039d4c5ecb7419c063f51a5;hp=dbf0cd6e472ef59f64aa2c58854d2dfe5b434a38;hpb=419089c30d9ee015ee1a7949dbc87c1380cdb240;p=swftools.git 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);