[php-src] PR #19837: Fix GH-19801: address leak when calling var_dump() with recursion in __debugInfo()
| From: | alexandre-daubois | Date: | Mon, 15 Sep 2025 08:42:30 +0000 |
| Subject: | [php-src] PR #19837: Fix GH-19801: address leak when calling var_dump() with recursion in __debugInfo() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33225@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19837
Author: alexandre-daubois
Fix #19801
Also fixes the same issue in
debug_zval_dump().
---
Note: ext/standard/tests/general_functions/debug_zval_dump_gh19801_memory_leak.phpt
should be updated on upmerge to add packed to the internal array representation