Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2018 19:54:19 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459204 - in head/dns/djbdns: . files
Message-ID:  <201801161954.w0GJsJ4b040226@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Tue Jan 16 19:54:19 2018
New Revision: 459204
URL: https://svnweb.freebsd.org/changeset/ports/459204

Log:
  Bump loop detection limit to 500
  
  PR:		216260
  Submitted by:	tjd-freebsd@phlegethon.org

Added:
  head/dns/djbdns/files/patch-query.c   (contents, props changed)
Modified:
  head/dns/djbdns/Makefile

Modified: head/dns/djbdns/Makefile
==============================================================================
--- head/dns/djbdns/Makefile	Tue Jan 16 19:10:51 2018	(r459203)
+++ head/dns/djbdns/Makefile	Tue Jan 16 19:54:19 2018	(r459204)
@@ -3,7 +3,7 @@
 
 PORTNAME?=	djbdns
 PORTVERSION?=	${DJBDNS_VER}
-PORTREVISION?=	21
+PORTREVISION?=	22
 PORTEPOCH?=	1
 CATEGORIES?=	dns
 MASTER_SITES=	http://cr.yp.to/djbdns/ \

Added: head/dns/djbdns/files/patch-query.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/djbdns/files/patch-query.c	Tue Jan 16 19:54:19 2018	(r459204)
@@ -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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801161954.w0GJsJ4b040226>