1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

[fuzzer][skip ci] Wrap php_request_shutdown() in zend_try (GH-19846)

php_request_shutdown() may also bail. E.g. GH-19844.
This commit is contained in:
Ilija Tovilo
2025-09-16 13:06:52 +02:00
committed by GitHub
parent 05055869ee
commit 7a06f6b4eb

View File

@@ -220,7 +220,9 @@ void fuzzer_request_shutdown(void)
zend_gc_collect_cycles();
} zend_end_try();
php_request_shutdown(NULL);
zend_try {
php_request_shutdown(NULL);
} zend_end_try();
}
/* Set up a dummy stack frame so that exceptions may be thrown. */