pkgsrc/x11/wxGTK28/patches/patch-cb
taca 039d94f891 * Add patches for CVE-2009-2369 and CVE-2009-2625.
* Use textproc/expat to fix CVE-2009-3720.

Bump PKGREVISION.
2010-02-16 17:38:14 +00:00

15 lines
466 B
Text

$NetBSD: patch-cb,v 1.1 2010/02/16 17:38:14 taca Exp $
deal with CVE-2009-2625.
--- src/expat/lib/xmltok_impl.c.orig 2009-03-06 12:17:57.000000000 +0000
+++ src/expat/lib/xmltok_impl.c
@@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *e
const char *end,
POSITION *pos)
{
- while (ptr != end) {
+ while (ptr < end) {
switch (BYTE_TYPE(enc, ptr)) {
#define LEAD_CASE(n) \
case BT_LEAD ## n: \