]> granicus.if.org Git - php/commitdiff
fix uninitialized value
authorAnatol Belski <ab@php.net>
Tue, 15 Mar 2016 05:43:29 +0000 (06:43 +0100)
committerAnatol Belski <ab@php.net>
Tue, 15 Mar 2016 05:43:29 +0000 (06:43 +0100)
ext/standard/crypt_freesec.c

index 0a54e3e8360e90769b75c2a1fab9335eb6f10b94..dddab62a616d8cb7944673dcc854ce83f63277ac 100644 (file)
@@ -580,7 +580,7 @@ static int
 des_cipher(const char *in, char *out, uint32_t salt, int count,
        struct php_crypt_extended_data *data)
 {
-       uint32_t        l_out, r_out, rawl, rawr;
+       uint32_t        l_out = 0, r_out = 0, rawl, rawr;
        int     retval;
 
        setup_salt(salt, data);