Skip to content

Commit 36304a3

Browse files
committed
Revert "Delete bug72858.phpt"
This reverts commit 91dca4f.
1 parent 91dca4f commit 36304a3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

ext/sysvshm/tests/bug72858.phpt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--TEST--
2+
Bug #72858 shm_attach null dereference
3+
--SKIPIF--
4+
<?php
5+
if (!extension_loaded("sysvshm")){ print 'skip'; }
6+
if (substr(PHP_OS, 0, 3) != "WIN") { print "skip windows only"; }
7+
?>
8+
--FILE--
9+
<?php
10+
11+
$v1=100;
12+
$v2=0xffffffff / 4 + 0x1337;
13+
shm_attach($v1,$v2);
14+
15+
?>
16+
==DONE==
17+
--EXPECTF--
18+
==DONE==

0 commit comments

Comments
 (0)