php-src/ext/json
Arnaud Le Blanc f3e87e2a6d
Fix tests: Prevent stack overflow during dtor
On s390x the stack is smaller and/or the object dtor code uses more stack,
which causes the destruction of deeply nested objects to crash in these
tests. Here I ensure that objects are released one by one at the end of the
tests to avoid recursive dtor.

Closes GH-16561
Fixes GH-16528
2024-10-24 15:56:25 +02:00
..
tests Fix tests: Prevent stack overflow during dtor 2024-10-24 15:56:25 +02:00
config.m4 always build json statically 2020-05-27 15:36:07 +02:00
config.w32 Define config var PHP_JSON 2020-10-24 15:36:05 +02:00
CREDITS
json.c Introduce Zend guard recursion protection 2023-08-24 13:03:14 +01:00
json.stub.php RFC - json_validate() (#9399) 2022-10-08 09:21:59 -04:00
json_arginfo.h RFC - json_validate() (#9399) 2022-10-08 09:21:59 -04:00
json_encoder.c Fix GH-15168: stack overflow in json_encode() 2024-09-30 20:42:01 +02:00
json_parser.y Fix strict prototypes warnings 2023-02-17 15:14:30 +01:00
json_scanner.re Revert GH-10220 2023-01-16 12:27:33 +01:00
Makefile.frag Fix php_json_scanner_defs.h target in ext/json/Makefile.frag 2023-02-17 16:37:14 +00:00
Makefile.frag.w32 ext/json: add php_json_scanner_defs.h as make target 2023-02-17 16:37:13 +00:00
php_json.h Merge branch 'PHP-8.2' 2023-05-13 18:54:16 +01:00
php_json_encoder.h Fix -Wenum-int-mismatch warning in ext/json/php_json_encoder.h 2023-05-14 22:10:23 +02:00
php_json_parser.h RFC - json_validate() (#9399) 2022-10-08 09:21:59 -04:00
php_json_scanner.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00