com php-src: Attempt to fix segfault due to retval is not initialized: ext/session/mod_user.c

From: Date: Tue, 14 Aug 2012 16:31:57 +0000
Subject: com php-src: Attempt to fix segfault due to retval is not initialized: ext/session/mod_user.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69832@lists.php.net to get a copy of this message
Commit: 9be55beb91378562e6e02ef4f1d010c4b1acbff9 Author: Xinchen Hui <laruence@php.net> Wed, 15 Aug 2012 00:31:57 +0800 Parents: b2fe342d04d6a7ef5b56a55723e2d2b975a8622e Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9be55beb91378562e6e02ef4f1d010c4b1acbff9 Log: Attempt to fix segfault due to retval is not initialized Changed paths: M ext/session/mod_user.c Diff: diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 7fe147b..e18e826 100644 --- a/ext/session/mod_user.c +++ b/ext/session/mod_user.c @@ -63,7 +63,7 @@ static zval *ps_call_handler(zval *func, int argc, zval **argv TSRMLS_DC) } #define STDVARS \ - zval *retval; \ + zval *retval = NULL; \ int ret = FAILURE #define PSF(a) PS(mod_user_names).name.ps_##a

« previous php.cvs (#69832) next »