summaryrefslogtreecommitdiff
path: root/expat/expat-CVE-2009-3720.patch
blob: 994d5ad9a68835e46d6f6ddf76ee264dab80c80c (plain)
    1 # http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3720
    2 # http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmltok_impl.c?r1=1.13&r2=1.15&view=patch
    3 
    4 --- xmltok_impl.c	2006/11/26 17:34:46	1.13
    5 +++ xmltok_impl.c	2008/06/13 13:18:44	1.15
    6 @@ -1744,7 +1744,7 @@
    7                         const char *end,
    8                         POSITION *pos)
    9  {
   10 -  while (ptr != end) {
   11 +  while (ptr < end) {
   12      switch (BYTE_TYPE(enc, ptr)) {
   13  #define LEAD_CASE(n) \
   14      case BT_LEAD ## n: \

Generated by cgit