Skip to content
Browse files

Fix for CVE-2009-3720 in libjabber's xml parser

  • Loading branch information...
1 parent f2f846b commit 1bbbc3745de0a06df650a170205aac9c95f547eb @transacid committed Oct 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 libjabber/xmltok_impl_c.h
View
2 libjabber/xmltok_impl_c.h
@@ -1709,7 +1709,7 @@ void 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: \

0 comments on commit 1bbbc37

Please sign in to comment.
Something went wrong with that request. Please try again.