diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-05-19 17:16:13 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-05-19 17:16:13 +0000 |
commit | 12c4a9da266da2b53d7ff0aa8c21af6df1c4702c (patch) | |
tree | cfe255912baf8b3bfd283087e96b029bbdce7505 /dns | |
parent | fc4aa4f8bc925e3e108e58dd9c5c7bedf9050c5d (diff) |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/nsd2/Makefile | 3 | ||||
-rw-r--r-- | dns/nsd2/files/patch-vuln | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/dns/nsd2/Makefile b/dns/nsd2/Makefile index aac4ac3ba3a5..298324d3c6f1 100644 --- a/dns/nsd2/Makefile +++ b/dns/nsd2/Makefile @@ -7,11 +7,12 @@ PORTNAME= nsd PORTVERSION= 2.3.7 +PORTREVISION= 1 CATEGORIES= dns ipv6 MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \ ftp://ftp.rhnet.is/pub/nsd/ -MAINTAINER= oli@isnic.is +MAINTAINER= osvaldsson@icelandic.net COMMENT= An authoritative only non-recursive name server CONFLICTS= nsd-[3-9]* diff --git a/dns/nsd2/files/patch-vuln b/dns/nsd2/files/patch-vuln new file mode 100644 index 000000000000..7d012c6fdb2e --- /dev/null +++ b/dns/nsd2/files/patch-vuln @@ -0,0 +1,13 @@ +--- query.c ++++ query.c +@@ -239,8 +239,8 @@ + * MAXDOMAINLEN ... + */ + if ((*src & 0xc0) || +- (src + *src + 1 > buffer_end(query->packet)) || +- (src + *src + 1 > query_name + MAXDOMAINLEN)) ++ (src + *src + 2 > buffer_end(query->packet)) || ++ (src + *src + 2 > query_name + MAXDOMAINLEN)) + { + return 0; + } |