Report information
The Basics
Id:
44683
Status:
resolved
Priority:
Medium/Medium
Queue:

People
BugTracker
Version Fixed:
9.10.6, 9.10.6-S1, 9.11.2, 9.12.0
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Utilities
Area:
bug

Dates
Created:Mon, 13 Feb 2017 08:41:01 -0500
Updated:Fri, 28 Jul 2017 23:46:57 -0400
Closed:Wed, 19 Apr 2017 20:51:02 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: DiG 9.12.0-pre-alpha - Dig INSIST on multiple +client= options
Date: Mon, 13 Feb 2017 13:40:57 +0000
To: bind-bugs@isc.org
From: "Yuri Schaeffer" <yuri@nlnetlabs.nl>
Bug Report from www.isc.org: Name: Yuri Schaeffer Email: yuri@nlnetlabs.nl Software Version: DiG 9.12.0-pre-alpha OS: Linux Subject:Dig INSIST on multiple +client= options Bug Detail =========== When providing multiple +client options to dig, dig will assert when cleaning up memory: $ dig +client=0/0 +client=0/0 A possible patch on top of git/master, to reject 2nd client option: index 28f7eda59f..40a28f83bd 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -1096,6 +1096,9 @@ parse_netprefix(isc_sockaddr_t **sap, const char *value) { isc_boolean_t prefix_parsed = ISC_FALSE; char buf[sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX/128")]; + if (*sap != NULL) + return ISC_R_FAILURE; + if (strlcpy(buf, value, sizeof(buf)) >= sizeof(buf)) fatal("invalid prefix '%s'\n", value); Regards, Yuri --- This email was received through isc.org Bug Submission Form
We will deal with this higher up the call stack.