php-src/ext/simplexml
Niels Dossche dd29b66dfa Fix GH-10983: State-dependant segfault in ReflectionObject::getProperties
This is a variant of GH-10200, but in a different place.
Basically, simplexml may create a properties table that's packed instead
of associative. But the macro that was used to loop over the properties
table assumed that it was always associative. Replace it by the macro
that figures it out automatically which one of the two it is.

For test: Co-authored-by: jnvsor

Closes GH-10984.
2023-04-01 20:19:14 +02:00
..
tests Fix GH-10983: State-dependant segfault in ReflectionObject::getProperties 2023-04-01 20:19:14 +02:00
config.m4 Make SimpleXMLElement a RecursiveIterator 2020-06-24 15:09:21 +02:00
config.w32 Make SimpleXMLElement a RecursiveIterator 2020-06-24 15:09:21 +02:00
CREDITS
php_simplexml.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_simplexml_exports.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
simplexml.c Revert "Port all internally used classes to use default_object_handlers" 2022-09-14 11:13:23 +02:00
simplexml.stub.php Fix the value param of SimpleXMLElement::addAttribute() 2021-12-22 12:35:59 +01:00
simplexml_arginfo.h Fix the value param of SimpleXMLElement::addAttribute() 2021-12-22 12:35:59 +01:00