[php-src] PR #19793: Fix GH-19792: SCCP causes UAF for return value if both warning and exception are triggered

From: Date: Wed, 10 Sep 2025 19:29:31 +0000
Subject: [php-src] PR #19793: Fix GH-19792: SCCP causes UAF for return value if both warning and exception are triggered
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-33181@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/19793 Author: nielsdos If an exception _and_ a warning (or deprecation) is emitted, then the result is destroyed twice. Use an else if to prevent this. This is tested via zend_test because the deprecation that triggered the original reproducer may disappear in the future.

« previous php.git-pulls (#33181) next »