]> granicus.if.org Git - php/commit
fix segfault when running run-tests.php, and general potential for corruption
authorGreg Beaver <cellog@php.net>
Fri, 31 Jul 2009 23:44:52 +0000 (23:44 +0000)
committerGreg Beaver <cellog@php.net>
Fri, 31 Jul 2009 23:44:52 +0000 (23:44 +0000)
commit80d061b18fe29ec39f4b41f7682b247c5a50e3c7
tree86c28730d915a64c8594625425488498456d09a7
parent53237e478b51c220715003b22d641ecc85ec2d5f
fix segfault when running run-tests.php, and general potential for corruption

by calling php_stream_path_encode for unicode strings, php_stream_path_param_encode decrements
the refcount, but never restores it, which can cause freeing of zvals before they are done being used.
main/php_streams.h