CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[attic/ports/opt-cross.git] / expat / expat-CVE-2009-3720.patch
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: \