Bump loop detection limit to 500
PR: 216260 Submitted by: tjd-freebsd@phlegethon.org
This commit is contained in:
parent
2a4a05ce15
commit
e9595bcc43
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459204
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME?= djbdns
|
||||
PORTVERSION?= ${DJBDNS_VER}
|
||||
PORTREVISION?= 21
|
||||
PORTREVISION?= 22
|
||||
PORTEPOCH?= 1
|
||||
CATEGORIES?= dns
|
||||
MASTER_SITES= http://cr.yp.to/djbdns/ \
|
||||
|
20
dns/djbdns/files/patch-query.c
Normal file
20
dns/djbdns/files/patch-query.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- query.c.orig 2018-01-16 11:49:56.341179000 -0800
|
||||
+++ query.c 2018-01-16 11:50:06.432700000 -0800
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
|
||||
NEWNAME:
|
||||
- if (++z->loop == 100) goto DIE;
|
||||
+ if (++z->loop == 500) goto DIE;
|
||||
d = z->name[z->level];
|
||||
dtype = z->level ? DNS_T_A : z->type;
|
||||
dlen = dns_domain_length(d);
|
||||
@@ -449,7 +449,7 @@
|
||||
|
||||
|
||||
HAVEPACKET:
|
||||
- if (++z->loop == 100) goto DIE;
|
||||
+ if (++z->loop == 500) goto DIE;
|
||||
buf = z->dt.packet;
|
||||
len = z->dt.packetlen;
|
||||
|
Loading…
Reference in New Issue
Block a user