|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-26 20:33 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 03:00:01 2025 UTC |
Description: ------------ In zend_execute_API.c zend_call_user_function() the local_retval_ptr variable should be initialized to NULL; otherwise it could lead to a memory read access failure. Expected result: ---------------- Index: zend_execute_API.c =================================================================== RCS file: /repository/ZendEngine2/zend_execute_API.c,v retrieving revision 1.328 diff -u -r1.328 zend_execute_API.c --- zend_execute_API.c 21 Jul 2005 16:52:32 -0000 1.328 +++ zend_execute_API.c 26 Jul 2005 11:42:27 -0000 @@ -531,7 +531,7 @@ zval ***params_array; zend_uint i; int ex_retval; - zval *local_retval_ptr; + zval *local_retval_ptr = NULL; if (param_count) { params_array = (zval ***) emalloc(sizeof(zval **)*param_count);