You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Null pointer dereference in mb_ereg_search_getregs() after mb_eregi() invalidates regex cache #21036
AddressSanitizer:DEADLYSIGNAL
=================================================================
==PID==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000080 (pc 0x... bp 0x... sp 0x... T0)
==PID==The signal is caused by a READ memory access.
==PID==Hint: address points to the zero page.
#0 in onig_number_of_names (/lib/x86_64-linux-gnu/libonig.so.5)
#1 in zif_mb_ereg_search_getregs ext/mbstring/php_mbregex.c:1532
#2 in ZEND_DO_ICALL_SPEC_RETVAL_UNUSED_HANDLER Zend/zend_vm_execute.h:1355
#3 in execute_ex Zend/zend_vm_execute.h:116469
#4 in zend_execute Zend/zend_vm_execute.h:121962
#5 in zend_execute_script Zend/zend.c:1980
#6 in php_execute_script_ex main/main.c:2645
#7 in php_execute_script main/main.c:2685
#8 in do_cli sapi/cli/php_cli.c:951
#9 in main sapi/cli/php_cli.c:1362
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libonig.so.5) in onig_number_of_names
Activity
youkidearitai commentedon Jul 31, 2026
I'm sorry for I can't response your issue and pull request.
I'm looking for #22954 . I'm sorry again.
Girgias commentedon Aug 3, 2026
Fixed by #22954