com php-src: fix uninitialized value: ext/standard/crypt_free sec.c

From: Date: Tue, 15 Mar 2016 05:43:29 +0000
Subject: com php-src: fix uninitialized value: ext/standard/crypt_free sec.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91341@lists.php.net to get a copy of this message
Commit: 84651b32eb53a979a1496a05b45261f0916fa0e6 Author: Anatol Belski <ab@php.net> Tue, 15 Mar 2016 06:43:29 +0100 Parents: 704a9aeea7148ec3fb2297c0df9bc14c274774c5 Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=84651b32eb53a979a1496a05b45261f0916fa0e6 Log: fix uninitialized value Changed paths: M ext/standard/crypt_freesec.c Diff: diff --git a/ext/standard/crypt_freesec.c b/ext/standard/crypt_freesec.c index 0a54e3e..dddab62 100644 --- a/ext/standard/crypt_freesec.c +++ b/ext/standard/crypt_freesec.c @@ -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);

« previous php.cvs (#91341) next »