Commit 198ee90516a for php.net
commit 198ee90516ac38fd7fd82e86e35f70a5f734bb57
Merge: 772bb05a76d c091db1346e
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date: Sat Sep 19 23:52:09 2026 +0200
Merge branch 'PHP-8.5'
* PHP-8.5:
Fix OSS-Fuzz #546798343: Heap-buffer-overflow in zend_delete_call_instructions with callable conversion
diff --cc Zend/Optimizer/optimize_func_calls.c
index 05cdce4fc4c,ff530c02de7..0e6c5797c68
--- a/Zend/Optimizer/optimize_func_calls.c
+++ b/Zend/Optimizer/optimize_func_calls.c
@@@ -61,6 -63,7 +61,8 @@@ static void zend_delete_call_instructio
case ZEND_DO_ICALL:
case ZEND_DO_UCALL:
case ZEND_DO_FCALL_BY_NAME:
+ case ZEND_CALLABLE_CONVERT:
++ case ZEND_CALLABLE_CONVERT_PARTIAL:
call++;
break;
case ZEND_SEND_VAL: