From 53fdcb341ea27f53b24a4cd615bf954a602c6398 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Apr 2020 07:23:15 +0200 Subject: update PEAR to 1.10.12 update XML_Util to 1.4.5 drop patch merged upstream --- 12.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 12.patch (limited to '12.patch') diff --git a/12.patch b/12.patch deleted file mode 100644 index 48448bf..0000000 --- a/12.patch +++ /dev/null @@ -1,24 +0,0 @@ -From e2c9854408bc0b45206336060e28603de3371c99 Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 12 Dec 2019 14:17:38 +0100 -Subject: [PATCH] fix Trying to access array offset on value of type int - ---- - XML/Util.php | 2 +- - tests/IsValidNameTests.php | 24 ++++++++++++++++++++++++ - 2 files changed, 25 insertions(+), 1 deletion(-) - -diff --git a/XML/Util.php b/XML/Util.php -index df37e07..1ba45ac 100644 ---- a/XML/Util.php -+++ b/XML/Util.php -@@ -918,7 +918,7 @@ public static function splitQualifiedName($qname, $defaultNs = null) - public static function isValidName($string) - { - // check for invalid chars -- if (!preg_match('/^[[:alpha:]_]\\z/', $string[0])) { -+ if (!is_string($string) || !strlen($string) || !preg_match('/^[[:alpha:]_]\\z/', $string[0])) { - return XML_Util::raiseError( - 'XML names may only start with letter or underscore', - XML_UTIL_ERROR_INVALID_START - -- cgit