- Fix a one-byte buffer overflow (vuxml entry coming shortly).
- Update maintainers address. PR: ports/134700 Submitted by: Olafur Osvaldsson <osvaldsson@icelandic.net> (maintainer)
This commit is contained in:
parent
fc4aa4f8bc
commit
12c4a9da26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234216
2 changed files with 15 additions and 1 deletions
|
@ -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]*
|
||||
|
|
13
dns/nsd2/files/patch-vuln
Normal file
13
dns/nsd2/files/patch-vuln
Normal file
|
@ -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;
|
||||
}
|
Loading…
Reference in a new issue