2009-10-30 17:30:11 +01:00
|
|
|
http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?r1=1.13&r2=1.15
|
|
|
|
|
2009-12-08 10:11:30 +01:00
|
|
|
Index: lib/xmltok_impl.c
|
|
|
|
===================================================================
|
|
|
|
--- lib/xmltok_impl.c.orig
|
2009-10-30 17:30:11 +01:00
|
|
|
+++ lib/xmltok_impl.c
|
2009-12-08 10:11:30 +01:00
|
|
|
@@ -1744,7 +1744,7 @@ PREFIX(updatePosition)(const ENCODING *e
|
2009-10-30 17:30:11 +01:00
|
|
|
const char *end,
|
|
|
|
POSITION *pos)
|
|
|
|
{
|
|
|
|
- while (ptr != end) {
|
|
|
|
+ while (ptr < end) {
|
|
|
|
switch (BYTE_TYPE(enc, ptr)) {
|
|
|
|
#define LEAD_CASE(n) \
|
|
|
|
case BT_LEAD ## n: \
|