~proyvind/smart/pycurl

« back to all changes in this revision

Viewing changes to smart/util/celementtree/expat/xmlparse.c

  • Committer: Anders F Bjorklund
  • Date: 2010-03-03 11:45:22 UTC
  • mfrom: (937.1.2 expat)
  • Revision ID: afb@users.sourceforge.net-20100303114522-22jd72e055ilo0xg
fix CVE-2009-3560 and CVE-2009-3720, for expat bundled with cElementTree
affects Python 2.4 and earlier, without xml.etree.cElementTree [#521731]

Show diffs side-by-side

added added

removed removed

Lines of Context:
3637
3637
        return XML_ERROR_NO_ELEMENTS;
3638
3638
      default:
3639
3639
        tok = -tok;
3640
 
        next = end;
3641
3640
        break;
3642
3641
      }
3643
3642
    }