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