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

People
BugTracker
Version Fixed:
9.9.11, 9.9.11-S1, 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:
P3 Low
Severity:
S3 Low
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Common
Area:
test

Dates
Created:Wed, 26 Apr 2017 06:04:39 -0400
Updated:Fri, 28 Jul 2017 23:24:04 -0400
Closed:Tue, 02 May 2017 16:41:53 -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: sockaddr_isnetzero() system test broken
Date: Wed, 26 Apr 2017 11:04:33 +0100
To: bind9-bugs@isc.org
From: "Ray Bellis" <ray@isc.org>
In lib/isc/tests/sockaddr_test.c The loop variable `i` is never used, causing all tests > 0 to be effectively ignored because the array offset data4[0] is hardcoded: for (i = 0; i < sizeof(data4)/sizeof(data4[0]); i++) { in.s_addr = inet_addr(data4[0].string); isc_sockaddr_fromin(&addr, &in, 1); r = isc_sockaddr_isnetzero(&addr); ATF_CHECK_EQ(r, data4[0].expect); }