wxGTK-2.8.10-CVE-2009-XXXX.diff 522 B

12345678910111213141516
  1. https://bugs.gentoo.org/show_bug.cgi?id=280615
  2. http://svn.python.org/view?view=rev&revision=74429
  3. --- src/expat/lib/xmltok_impl.c 2009-08-21 23:26:35.000000000 +0200
  4. +++ src/expat/lib/xmltok_impl.c.oden 2009-08-21 23:26:47.000000000 +0200
  5. @@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *e
  6. const char *end,
  7. POSITION *pos)
  8. {
  9. - while (ptr != end) {
  10. + while (ptr < end) {
  11. switch (BYTE_TYPE(enc, ptr)) {
  12. #define LEAD_CASE(n) \
  13. case BT_LEAD ## n: \