mirror of
https://github.com/php/php-src.git
synced 2026-04-16 20:41:18 +02:00
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Apply upstream patch for CVE-2016-1283
This commit is contained in:
10
ext/pcre/tests/bug75207.phpt
Normal file
10
ext/pcre/tests/bug75207.phpt
Normal file
@@ -0,0 +1,10 @@
|
||||
--TEST--
|
||||
CVE-2016-1283, see bug #75207
|
||||
--FILE--
|
||||
<?php
|
||||
preg_match("/(?:F?+(?:^(?(R)a+\"){99}-))(?J)(?'R'(?'R'<((?'RR'(?'R'\){97)?J)?J)(?'R'(?'R'\){99|(:(?|(?'R')(\k'R')|((?'R')))H'R'R)(H'R))))))/", "*b\dc");
|
||||
?>
|
||||
==DONE==
|
||||
--EXPECTF--
|
||||
Warning: preg_match(): Compilation failed: unmatched parentheses at offset %d in %s on line %d
|
||||
==DONE==
|
||||
Reference in New Issue
Block a user