[php-src] PR #12062: Fix OSS-Fuzz #61712

From: Date: Sun, 27 Aug 2023 18:08:05 +0000
Subject: [php-src] PR #12062: Fix OSS-Fuzz #61712
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23495@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12062 Author: nielsdos Because the error handler is invoked after the property is updated, the error handler has the opportunity to remove it before the property is returned. Switching the order around fixes this issue. The comments mention that the current ordering prevents overwriting the EG(std_property_info) field in the error handler. EG(std_property_info) no longer exists as it was removed in 7471c217. Back then a global was used to store the returned property info, but as this is no longer the case there is no longer a need to protect against overwriting a global.

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