Skip to content

Commit f83cdce

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Wrap cleanup function call with zend_try.
2 parents d653646 + 9f79a98 commit f83cdce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sapi/fuzzer/fuzzer-sapi.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ int fuzzer_do_request_from_buffer(
281281

282282
CG(compiled_filename) = NULL; /* ??? */
283283
if (before_shutdown) {
284-
before_shutdown();
284+
zend_try {
285+
before_shutdown();
286+
} zend_end_try();
285287
}
286288
fuzzer_request_shutdown();
287289

0 commit comments

Comments
 (0)