Skip to content

Commit 6554d65

Browse files
committed
add test
1 parent 47997d9 commit 6554d65

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--TEST--
2+
GH-18976 (pack overflow with h/H format)
3+
--INI--
4+
memory_limit=-1
5+
--FILE--
6+
<?php
7+
str_repeat("1", (int)str_repeat("1", 2147483648));
8+
echo "OK"
9+
?>
10+
--EXPECT--
11+
OK

0 commit comments

Comments
 (0)