Commit: a5a409ebff1037f4b00fdf6d46dd61c72cb6d315 Author: Xinchen Hui <larue...@php.net> Wed, 15 Aug 2012 00:44:47 +0800 Parents: e1c610fb44385cd2894be1957cc32f7cccc4b476 Branches: PHP-5.3
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a5a409ebff1037f4b00fdf6d46dd61c72cb6d315 Log: Fixed bug (segfault due to retval is not initialized) Changed paths: M NEWS M ext/session/mod_user.c Diff: diff --git a/NEWS b/NEWS index 985e274..c7afe53 100644 --- a/NEWS +++ b/NEWS @@ -26,6 +26,9 @@ PHP NEWS . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result). (Laruence) +- Session: + . Fixed bug (segfault due to retval is not initialized). (Laruence) + - SPL: . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault). (Laruence, Gustavo) diff --git a/ext/session/mod_user.c b/ext/session/mod_user.c index 17af624..c187e26 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 STDVARS1 \ - zval *retval; \ + zval *retval = NULL; \ int ret = FAILURE #define STDVARS \ -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php