Skip to content

Commit 9306c95

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: [skip ci] Increase tolerance for cve-2014-3538 tests
2 parents 4f32443 + 3036101 commit 9306c95

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
@@ -23,7 +23,7 @@ $fi = finfo_open(FILEINFO_NONE);
2323
$t = microtime(true);
2424
var_dump(finfo_file($fi, $fd));
2525
$t = microtime(true) - $t;
26-
if ($t < 1.5) {
26+
if ($t < 2) {
2727
echo "Ok\n";
2828
} else {
2929
printf("Failed, time=%.2f\n", $t);

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $fi = finfo_open(FILEINFO_NONE);
1919
$t = microtime(true);
2020
var_dump(finfo_file($fi, $fd));
2121
$t = microtime(true) - $t;
22-
if ($t < 1.5) {
22+
if ($t < 2) {
2323
echo "Ok\n";
2424
} else {
2525
printf("Failed, time=%.2f\n", $t);

0 commit comments

Comments
 (0)