[php-src] PR #11350: Fix GH-11347: Memory leak when calling a static method inside an xpath query

From: Date: Tue, 30 May 2023 15:34:38 +0000
Subject: [php-src] PR #11350: Fix GH-11347: Memory leak when calling a static method inside an xpath query
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-22623@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11350 Author: nielsdos It's a type confusion bug. zend_make_callable may change the function name of the fci to become an array, causing a crash in debug mode on zval_ptr_dtor_str(&fci.function_name); in dom_xpath_ext_function_php. On a production build it doesn't crash but only causes a leak, because the array elements are not destroyed, only the array container itself is.

« previous php.git-pulls (#22623) next »