[php-src] PR #24749: Fix GH-24748: socket_set_option() crash with declared object properties

From: Date: Mon, 26 Oct 2026 15:38:19 +0000
Subject: [php-src] PR #24749: Fix GH-24748: socket_set_option() crash with declared object properties
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39915@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24749 Author: lazerg Declared properties sit in the object's property table as indirect slots, and the SO_LINGER and SO_RCVTIMEO/SO_SNDTIMEO paths looked them up with zend_hash_str_find(), so zval_get_long() got an IS_INDIRECT zval and crashed. Using zend_hash_str_find_ind() follows the slot, and an uninitialized typed property now gives the usual "must have key" error. Fixes #24748

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