We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1a78bda + 5d25ebb commit 9f269d0Copy full SHA for 9f269d0
ext/pcre/tests/bug75457.phpt
@@ -0,0 +1,10 @@
1
+--TEST--
2
+Bug #75457 (heap-use-after-free in php7.0.25)
3
+--FILE--
4
+<?php
5
+$pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/";
6
+var_dump(preg_match($pattern, "hello"));
7
+?>
8
+--EXPECTF--
9
+Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 4 in %sbug75457.php on line %d
10
+bool(false)
0 commit comments