#
b14076a4 |
| 09-Oct-2024 |
Christoph M. Becker |
Fix property access of PHP objects wrapped in variant First, we fix the long standing issue that property access throws a `com_exception` ("0x80020003: member not found), because the `HR
Fix property access of PHP objects wrapped in variant First, we fix the long standing issue that property access throws a `com_exception` ("0x80020003: member not found), because the `HRESULT` was not properly set after accessing the property. Next, we fix an issue introduced as of PHP 7.0.0, where the string length for write access had been properly adapted, but the string length for read access had been overlooked. Then we fix an issue introduced as of PHP 8.0.0, where new `HashTable`s no longer set `nNextFreeElement` to zero, but to `ZEND_LONG_MIN`. This doesn't work well with the `DISPID` lookup, which is a `LONG`. Finally we fix a potential double-free due to erroneously destroying the return value of `zend_read_property()`. Closes GH-16331.
show more ...
|