[php-src] PR #17219: Fix GH-17216: Trampoline crash on error
| From: | nielsdos | Date: | Thu, 19 Dec 2024 19:03:20 +0000 |
| Subject: | [php-src] PR #17219: Fix GH-17216: Trampoline crash on error | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30070@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17219
Author: nielsdos
The error handling is incomplete on argument cleanup.
1. The fci is not cleared which means that zend_free_trampoline() is never called.
2. The cleaning for extra named arguments was missing, resulting in memory leak.