Fixup fromcvs/togit conversion
[pkgsrcv2.git] / x11 / wxGTK28 / patches / patch-cb
1 $NetBSD$
2
3 deal with CVE-2009-2625.
4
5 --- src/expat/lib/xmltok_impl.c.orig    2009-03-06 12:17:57.000000000 +0000
6 +++ src/expat/lib/xmltok_impl.c
7 @@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *e
8                         const char *end,
9                         POSITION *pos)
10  {
11 -  while (ptr != end) {
12 +  while (ptr < end) {
13      switch (BYTE_TYPE(enc, ptr)) {
14  #define LEAD_CASE(n) \
15      case BT_LEAD ## n: \