components/libexpat/patches/CVE-2009-3720.patch
author Rich Burridge <rich.burridge@oracle.com>
Mon, 14 Nov 2011 09:56:09 -0800
changeset 584 f4e402a57670
parent 274 816a4eb924b1
permissions -rw-r--r--
6962990 GNU 'who -r' does not print run-level

--- lib/xmltok_impl.c	2006/11/26 17:34:46	1.13
+++ lib/xmltok_impl.c	2008/06/13 13:18:44	1.15
@@ -1744,7 +1744,7 @@
                        const char *end,
                        POSITION *pos)
 {
-  while (ptr != end) {
+  while (ptr < end) {
     switch (BYTE_TYPE(enc, ptr)) {
 #define LEAD_CASE(n) \
     case BT_LEAD ## n: \