[php-src] PR #23716: ext/mysqlnd: add a hardening assertion that the fetch callback is set
| From: | DanielEScherzer | Date: | Thu, 17 Sep 2026 03:27:35 +0000 |
| Subject: | [php-src] PR #23716: ext/mysqlnd: add a hardening assertion that the fetch callback is set | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38523@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23716
Author: DanielEScherzer
Given that the knowledge that the fetch callback is not null is based on validation that was done
separately, and there are indeed entries in
mysqlnd_ps_fetch_functions where the
callback is null, add a ZEND_ASSERT that the function is not null as a hardening
measure.