Skip to content

Commit 9f79a98

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Wrap cleanup function call with zend_try.
2 parents 1e92d47 + b45e7a6 commit 9f79a98

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
@@ -283,7 +283,9 @@ int fuzzer_do_request_from_buffer(
283283

284284
CG(compiled_filename) = NULL; /* ??? */
285285
if (before_shutdown) {
286-
before_shutdown();
286+
zend_try {
287+
before_shutdown();
288+
} zend_end_try();
287289
}
288290
fuzzer_request_shutdown();
289291

0 commit comments

Comments
 (0)