[php-src] PR #11303: Fix access on NULL pointer in array_merge_recursive()
| From: | iluuu1994 | Date: | Tue, 23 May 2023 14:54:59 +0000 |
| Subject: | [php-src] PR #11303: Fix access on NULL pointer in array_merge_recursive() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22571@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11303
Author: iluuu1994
@dstogov Please check if this looks good to you. I checked all the
zend_hash_next_index_insert() calls to make sure they handle NULL values
but couldn't find any other obvious faulty cases. I opted for Z_TRY_DELREF_P
rather than moving the Z_TRY_ADDREF_P into an if to avoid a jump.