Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 290ab9393b41304240b2d35044627f34 > files > 7

python-2.5.2-5.5mdv2009.0.src.rpm


 https://bugs.gentoo.org/show_bug.cgi?id=280615
 http://svn.python.org/view?view=rev&revision=74429

--- Modules/expat/xmltok_impl.c	2006-06-20 01:21:25.000000000 +0200
+++ Modules/expat/xmltok_impl.c.oden	2009-08-21 14:44:55.000000000 +0200
@@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *e
                        const char *end,
                        POSITION *pos)
 {
-  while (ptr != end) {
+  while (ptr < end) {
     switch (BYTE_TYPE(enc, ptr)) {
 #define LEAD_CASE(n) \
     case BT_LEAD ## n: \