Commit b5081339e9c for php.net
commit b5081339e9c3f1c77829de3cac7b34098e4b83c4
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Thu Apr 24 11:26:17 2025 +0200
[skip ci] Increase tolerance for cve-2014-3538 tests
These regularly fail with "Failed, time=1.5x".
diff --git a/ext/fileinfo/tests/cve-2014-3538-nojit.phpt b/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
index 2010d538da9..3fe21168ab8 100644
--- a/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
+++ b/ext/fileinfo/tests/cve-2014-3538-nojit.phpt
@@ -24,7 +24,7 @@
var_dump(finfo_file($fi, $fd));
$t = microtime(true) - $t;
finfo_close($fi);
-if ($t < 1.5) {
+if ($t < 2) {
echo "Ok\n";
} else {
printf("Failed, time=%.2f\n", $t);
diff --git a/ext/fileinfo/tests/cve-2014-3538.phpt b/ext/fileinfo/tests/cve-2014-3538.phpt
index c5dba2b428c..2e222a6c499 100644
--- a/ext/fileinfo/tests/cve-2014-3538.phpt
+++ b/ext/fileinfo/tests/cve-2014-3538.phpt
@@ -22,7 +22,7 @@
var_dump(finfo_file($fi, $fd));
$t = microtime(true) - $t;
finfo_close($fi);
-if ($t < 1.5) {
+if ($t < 2) {
echo "Ok\n";
} else {
printf("Failed, time=%.2f\n", $t);