Skip to content

Commit 86ac21c

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: [skip ci] Increase tolerance for cve-2014-3538 tests
2 parents 8e53349 + b508133 commit 86ac21c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/fileinfo/tests/cve-2014-3538-nojit.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $t = microtime(true);
2424
var_dump(finfo_file($fi, $fd));
2525
$t = microtime(true) - $t;
2626
finfo_close($fi);
27-
if ($t < 1.5) {
27+
if ($t < 2) {
2828
echo "Ok\n";
2929
} else {
3030
printf("Failed, time=%.2f\n", $t);

ext/fileinfo/tests/cve-2014-3538.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $t = microtime(true);
2222
var_dump(finfo_file($fi, $fd));
2323
$t = microtime(true) - $t;
2424
finfo_close($fi);
25-
if ($t < 1.5) {
25+
if ($t < 2) {
2626
echo "Ok\n";
2727
} else {
2828
printf("Failed, time=%.2f\n", $t);

0 commit comments

Comments
 (0)