[php-src] Issue #7942: Readonly properties mutable when assigning reference to them

From: Date: Sun, 16 Jan 2022 09:10:35 +0000
Subject: [php-src] Issue #7942: Readonly properties mutable when assigning reference to them
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239036@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7942 Comment Author: nikic In zend_std_get_property_ptr_ptr(), we currently allow acquiring a property pointer if the current value is undef and the scope has initialization access. This then allows zend_assign_to_property_reference() to assign a reference to the property.

« previous php.bugs (#239036) next »