php-src/ext/reflection
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 Merge branch 'PHP-8.1' into PHP-8.2 2023-02-23 23:27:55 +01:00
config.m4 Normalize comments in *nix build system m4 files 2019-05-12 18:43:03 +02:00
config.w32 Remove HAVE_* for always available extensions 2019-04-14 11:44:12 -03:00
CREDITS Change some permissions from 755 to 644 2018-08-28 23:26:49 +02:00
php_reflection_arginfo.h Merge branch 'PHP-8.1' into PHP-8.2 2023-02-23 23:27:55 +01:00
php_reflection.c Fix GH-10983: State-dependant segfault in ReflectionObject::getProperties 2023-04-01 20:19:14 +02:00
php_reflection.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_reflection.stub.php Merge branch 'PHP-8.1' into PHP-8.2 2023-02-23 23:27:55 +01:00