- Notifications
You must be signed in to change notification settings - Fork8k
Closed
Description
Description
The following code:
<?php$functions =get_defined_functions();$callbacks =$functions['user'];foreach ($callbacksas$callback) {ob_start($callback);ob_end_flush();}functionget_const() {}functiontest() {var_dump(call_user_func('get_const',$x));}test();try {session_unset();}catch (Exception$e) {echo($e); }
Resulted in this output:
/home/phpfuzz/WorkSpace/flowfusion/php-src/ext/opcache/jit/zend_jit_vm_helpers.c:138:15: runtime error: applying zero offset to null pointerSUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/phpfuzz/WorkSpace/flowfusion/php-src/ext/opcache/jit/zend_jit_vm_helpers.c:138:15
To reproduce:
-d "opcache.jit_hot_func=1" -d "zend_extension=/home/phpfuzz/WorkSpace/flowfusion/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d "opcache.jit=1254"
PHP Version
nightly
Operating System
No response