pkgsrc/www/libwww/patches/patch-ar
obache e11d1839b5 Add patch-ar for CVE-2009-3720.
Bump PKGREVISION.
2009-11-08 08:38:54 +00:00

15 lines
439 B
Text

$NetBSD: patch-ar,v 1.1 2009/11/08 08:38:54 obache Exp $
CVE-2009-3720
--- modules/expat/xmltok/xmltok_impl.c.orig 2000-08-28 08:52:01.000000000 +0000
+++ modules/expat/xmltok/xmltok_impl.c
@@ -1753,7 +1753,7 @@ void PREFIX(updatePosition)(const ENCODI
const char *end,
POSITION *pos)
{
- while (ptr != end) {
+ while (ptr < end) {
switch (BYTE_TYPE(enc, ptr)) {
#define LEAD_CASE(n) \
case BT_LEAD ## n: \