MFC r200392:
Apply two vendor fixes for CVE-2009-3720. Security: CVE-2009-3720
This commit is contained in:
parent
a43ee308b5
commit
82c0fd73d4
@ -3725,7 +3725,6 @@ doProlog(XML_Parser parser,
|
||||
return XML_ERROR_NO_ELEMENTS;
|
||||
default:
|
||||
tok = -tok;
|
||||
next = end;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -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: \
|
||||
|
Loading…
x
Reference in New Issue
Block a user