diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-17 12:07:11 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-17 12:07:11 +0000 |
commit | 1b5e6df3780f0db6124afb1b3d114dbfecf7627c (patch) | |
tree | 4992b3911479e978834ef0a85a8ec6c0baeac596 /main/expat/CVE-2009-3720.patch | |
parent | 026984a0c0bdab7eea63727eced374b77bd56bf2 (diff) | |
download | aports-1b5e6df3780f0db6124afb1b3d114dbfecf7627c.tar.bz2 aports-1b5e6df3780f0db6124afb1b3d114dbfecf7627c.tar.xz |
main/expat: security fixes
Diffstat (limited to 'main/expat/CVE-2009-3720.patch')
-rw-r--r-- | main/expat/CVE-2009-3720.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/expat/CVE-2009-3720.patch b/main/expat/CVE-2009-3720.patch new file mode 100644 index 000000000..65d16431f --- /dev/null +++ b/main/expat/CVE-2009-3720.patch @@ -0,0 +1,12 @@ +diff -urNad trunk~/lib/xmltok_impl.c trunk/lib/xmltok_impl.c +--- trunk~/lib/xmltok_impl.c 2006-11-26 18:34:46.000000000 +0100 ++++ trunk/lib/xmltok_impl.c 2009-10-22 21:42:41.000000000 +0200 +@@ -1744,7 +1744,7 @@ + const char *end, + POSITION *pos) + { +- while (ptr != end) { ++ while (ptr < end) { + switch (BYTE_TYPE(enc, ptr)) { + #define LEAD_CASE(n) \ + case BT_LEAD ## n: \ |