Skip to content

Commit 3036101

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: [skip ci] Increase tolerance for cve-2014-3538 tests
2 parents 40894bc + 438f07c commit 3036101

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)