From 7f512a75b7d9a39797100de81e7035b01056d4e1 Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Mon, 12 Jan 2009 13:42:15 +0000 Subject: [PATCH] MFH This entry doesn't exist upstream any more, it also caused all error messages to be one off. --- NEWS | 2 ++ ext/xml/compat.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f28ad55b54..64c1192cb4 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,8 @@ PHP NEWS correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott) - Fixed a segfault when malformed string is passed to json_decode(). (Scott) +- Fixed bug in xml_error_string() which resulted in messages being + off by one. (Scott) - Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). (Sriram Natarajan) diff --git a/ext/xml/compat.c b/ext/xml/compat.c index e6f4d198cf..0e54fc742a 100644 --- a/ext/xml/compat.c +++ b/ext/xml/compat.c @@ -620,7 +620,6 @@ XML_GetErrorCode(XML_Parser parser) static const XML_Char *const error_mapping[] = { "No error", - "Internal error", "No memory", "Invalid document start", "Empty document", -- 2.50.1