Files
pkgsrc-ng/www/libwww/patches/patch-ar
2013-09-26 17:14:40 +02:00

16 lines
439 B
Plaintext

$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: \