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

Wrap cleanup function call with zend_try.

Fizes oss-fuzz #65911
This commit is contained in:
Dmitry Stogov
2024-01-22 10:32:04 +03:00
parent 8d4e177d82
commit b45e7a613f

View File

@@ -280,7 +280,9 @@ int fuzzer_do_request_from_buffer(
CG(compiled_filename) = NULL; /* ??? */
if (before_shutdown) {
before_shutdown();
zend_try {
before_shutdown();
} zend_end_try();
}
fuzzer_request_shutdown();