Apply two vendor fixes for CVE-2009-3720.

Security:	CVE-2009-3720
MFC after:	3 days
This commit is contained in:
delphij 2009-12-11 02:09:46 +00:00
parent 063a5906ed
commit 260d752e2e
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: \