[php-src] PR #24122: Dereference of null pointer before initial check.
| From: | M0T1VaTeD | Date: | Sun, 04 Oct 2026 18:29:41 +0000 |
| Subject: | [php-src] PR #24122: Dereference of null pointer before initial check. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39138@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24122
Author: M0T1VaTeD
Problem: pointer "key" is checked for null at var.c:1016, but is dereferenced right before
the check.
Solution: additional check for "key" before dereferencing.