We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code:
<?php require_once 'files/phar_oo_test.inc'; ?>
Resulted in this output:
/php-src/Zend/Optimizer/zend_inference.c:5043:46: runtime error: applying non-zero offset 36 to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/Zend/Optimizer/zend_inference.c:5043:46
To reproduce:
-d "zend_extension=/php-src/modules/opcache.so" -d "opcache.enable=1" -d "opcache.enable_cli=1" -d "opcache.jit=1202"
PHP 8.4.0-dev
ubuntu 22.04
The text was updated successfully, but these errors were encountered:
This is the ssa_op + 1 computation. The ssa op is not actually used but we should still guard the addition with a NULL check.
ssa_op + 1
Sorry, something went wrong.
Fix phpGH-15661: Access null pointer in Zend/Optimizer/zend_inference.c
5e63a1b
86ef8d5
Merge branch 'PHP-8.2' into PHP-8.3
75f5cbf
* PHP-8.2: Fix GH-15661: Access null pointer in Zend/Optimizer/zend_inference.c
Merge branch 'PHP-8.3'
f56a659
* PHP-8.3: Fix GH-15661: Access null pointer in Zend/Optimizer/zend_inference.c
Successfully merging a pull request may close this issue.
Description
The following code:
Resulted in this output:
To reproduce:
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: