mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
d30cd7d7e7
Closes GH-5590
14 lines
267 B
PHP
14 lines
267 B
PHP
--TEST--
|
|
Bug #75241 (Null pointer dereference in zend_mm_alloc_small())
|
|
--FILE--
|
|
<?php
|
|
|
|
$d->d = &$d + $d->d/=0;
|
|
var_dump($d);
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Attempt to modify property "d" on null in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|