From 430645172897d6b89d59540d16399eec198bddbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kruczek?= Date: Wed, 30 Sep 2020 12:06:37 +0200 Subject: [PATCH] fix version comparison operator (#26) --- packages/zend-xml/library/Zend/Xml/Security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zend-xml/library/Zend/Xml/Security.php b/packages/zend-xml/library/Zend/Xml/Security.php index 424510f63..346e8ff9f 100644 --- a/packages/zend-xml/library/Zend/Xml/Security.php +++ b/packages/zend-xml/library/Zend/Xml/Security.php @@ -169,7 +169,7 @@ public static function isPhpFpm() $isVulnerableVersion = ( version_compare(PHP_VERSION, '5.5.22', 'lt') || ( - version_compare(PHP_VERSION, '5.6', 'gte') + version_compare(PHP_VERSION, '5.6', 'ge') && version_compare(PHP_VERSION, '5.6.6', 'lt') ) );