-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Description
The following code:
<?php
function test(){
for($i = PHP_INT_MIN; $i < 2; $i++){
$a = @[3][$i];
}
}Resulted in this output:
ext/opcache/jit/ir/ir_fold.h:472:2: runtime error: signed integer overflow: -9223372036854775808 * 16 cannot be represented in type 'long'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ext/opcache/jit/ir/ir_fold.h:472:2
To reproduce:
-d "zend_extension=/home/phpfuzz/WorkSpace/flowfusion/php-src/modules/opcache.so" -d "opcache.enable_cli=1" -d "opcache.jit=1205"
PHP Version
nightly
Operating System
No response