|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-03-20 11:07 UTC] nikic@php.net
[2019-03-20 11:07 UTC] nikic@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
Description: ------------ If fci/fcc are acquired via zend_is_callable and the callback is subsequently not used, the call trampoline is leaked. The script demonstrates this using array_map() and the method name -- of course, this also affects other functions, and the trampoline itself may also be leaked. Test script: --------------- <?php class Test { public function __call($name, $args) { echo "__call()\n"; } } $name = "foo" . ($x = "bar"); array_map([new Test, $name], []);