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) {
zend_try {
before_shutdown();
} zend_end_try();
}
fuzzer_request_shutdown();