MFC r200392:

Apply two vendor fixes for CVE-2009-3720.

Security:	CVE-2009-3720
This commit is contained in:
Xin LI 2009-12-14 01:05:40 +00:00
parent a43ee308b5
commit 82c0fd73d4
2 changed files with 1 additions and 2 deletions

View File

@ -3725,7 +3725,6 @@ doProlog(XML_Parser parser,
return XML_ERROR_NO_ELEMENTS;
default:
tok = -tok;
next = end;
break;
}
}

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: \