Skip to content

Commit 438f07c

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: [skip ci] Increase tolerance for cve-2014-3538 tests
2 parents 54e662c + 86ac21c commit 438f07c

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
@@ -20,7 +20,7 @@ $t = microtime(true);
2020
var_dump(finfo_file($fi, $fd));
2121
$t = microtime(true) - $t;
2222
finfo_close($fi);
23-
if ($t < 1.5) {
23+
if ($t < 2) {
2424
echo "Ok\n";
2525
} else {
2626
printf("Failed, time=%.2f\n", $t);

0 commit comments

Comments
 (0)