Apply two vendor fixes for CVE-2009-3720.

Security:	CVE-2009-3720
MFC after:	3 days
This commit is contained in:
Xin LI
2009-12-11 02:09:46 +00:00
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -3725,7 +3725,6 @@ doProlog(XML_Parser parser,
return XML_ERROR_NO_ELEMENTS;
default:
tok = -tok;
next = end;
break;
}
}
+1 -1
View File
@@ -1744,7 +1744,7 @@ PREFIX(updatePosition)(const ENCODING *enc,
const char *end,
POSITION *pos)
{
while (ptr != end) {
while (ptr < end) {
switch (BYTE_TYPE(enc, ptr)) {
#define LEAD_CASE(n) \
case BT_LEAD ## n: \