components/libexpat/patches/CVE-2009-3720.patch
author tomas klacko - Sun Microsystems - Prague Czech Republic <tomas.klacko@oracle.com>
Tue, 06 Mar 2012 12:31:19 -0800
branchs11-sru
changeset 2250 e145454a43d2
parent 274 816a4eb924b1
permissions -rw-r--r--
7103026 proftpd unable to authenticate user after first failed attempt

--- 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: \