Hi Stas 2011/11/18 Stanislav Malyshev <s...@php.net>: > Modified: php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c > =================================================================== > --- php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c 2011-11-18 > 07:07:42 UTC (rev 319441) > +++ php/php-src/branches/PHP_5_4/Zend/zend_builtin_functions.c 2011-11-18 > 07:11:19 UTC (rev 319442) > @@ -706,6 +706,9 @@ > } > c.flags = case_sensitive; /* non persistent */ > c.name = IS_INTERNED(name) ? name : zend_strndup(name, name_len); > + if(name == NULL) { > + RETURN_FALSE; > + }
This looks wrong, as c.name have the return value of zend_strndup(), not name. -- regards, Kalle Sommer Nielsen ka...@php.net -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php