[php-src] Issue #15456: Segmentation fault (null pointer) in Zend/zend_builtin_functions.c

From: Date: Sat, 17 Aug 2024 07:52:17 +0000
Subject: [php-src] Issue #15456: Segmentation fault (null pointer) in Zend/zend_builtin_functions.c
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247518@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15456 Author: YuanchengJiang ### Description The following code: ```php <?php class A { public $prop { get { } } } class B extends A { } get_class_vars('B'); ``` Resulted in this output: ``` /php-src/Zend/zend_builtin_functions.c:735:12: runtime error: applying non-zero offset 4294967248 to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/Zend/zend_builtin_functions.c:735:12 in ``` ### PHP Version PHP 8.4.0-dev ### Operating System ubuntu 22.04

« previous php.bugs (#247518) next »