summaryrefslogtreecommitdiff
path: root/Zend/tests/bug75241.phpt
blob: 334c30b6ffa1913e5866399e2ecb88df9bb495d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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