Skip to content

Commit d27a66a

Browse files
Jan-Eremicollet
authored andcommitted
Mark CVE-2024-5585 backport tests for PHP 7.4 as EXPECTED FAIL See remicollet/php-src-security#17 (comment)
1 parent fb718aa commit d27a66a

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ext/standard/tests/general_functions/ghsa-9fcc-425m-g385_001.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if( substr(PHP_OS, 0, 3) != "WIN" )
66
die('skip Run only on Windows');
77
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
88
?>
9+
--XFAIL--
10+
Before PHP 8.0.0 we would need to add extra quotes.
911
--FILE--
1012
<?php
1113

ext/standard/tests/general_functions/ghsa-9fcc-425m-g385_002.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if( substr(PHP_OS, 0, 3) != "WIN" )
66
die('skip Run only on Windows');
77
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
88
?>
9+
--XFAIL--
10+
Before PHP 8.0.0 we would need to add extra quotes.
911
--FILE--
1012
<?php
1113

ext/standard/tests/general_functions/ghsa-9fcc-425m-g385_003.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ GHSA-9fcc-425m-g385 - bypass CVE-2024-1874 - exhaustive suffix test
55
if( substr(PHP_OS, 0, 3) != "WIN" )
66
die('skip Run only on Windows');
77
?>
8+
--XFAIL--
9+
Before PHP 8.0.0 we would need to add extra quotes.
810
--FILE--
911
<?php
1012

0 commit comments

Comments
 (0)