From: Scott MacVicar Date: Mon, 12 Jan 2009 13:42:15 +0000 (+0000) Subject: MFH This entry doesn't exist upstream any more, it also caused all error messages... X-Git-Tag: php-5.2.9RC1~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f512a75b7d9a39797100de81e7035b01056d4e1;p=php MFH This entry doesn't exist upstream any more, it also caused all error messages to be one off. --- 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",