Report information
The Basics
Id:
45508
Status:
resolved
Priority:
Low/Low
Queue:

People
Cc:
AdminCc:

BugTracker
Version Fixed:
9.12.0, 9.11.3, 9.10.7, 9.9.12
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
9.9.11, 9.10.7, 9.11.3
Priority:
P2 Normal
Severity:
S3 Low
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Utilities
Area:
libdns

Dates
Created:Wed, 05 Jul 2017 06:03:55 -0400
Updated:Fri, 11 Aug 2017 01:54:38 -0400
Closed:Fri, 11 Aug 2017 01:54:28 -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.

From: ray@isc.org
To: bind9-public@isc.org
Subject: Crash if dst_lib_init() is called more than once
Date: Wed, 05 Jul 2017 10:03:55 +0000
In dig for iOS I want to be able to invoke the dig "main" function multiple times so that I can improve its error handling. However, when I try, I get a segfault in line 181 of lib/dns/dst_api.c, which calls: isc_mem_setdestroycheck(dst__memory_pool, ISC_FALSE); I've attached a standalone test program to reproduce this fault (the config.h therein is from my macOS build).
Subject: libbind_dstcrash_test.tgz

Message body not shown because it is not plain text.

SIGCHASE has now been removed from 9.12. I rebased this branch into rt45508b. That's the version that should be merged to master; rt45508 can be merged to 9.11 and earlier. I'm not sure where things stand with Francis's review, but these changes look okay to me.
4677. [cleanup] Split up the main function in dig to better support the iOS app version. [RT #45508] 9.12.0, 9.11.3, 9.10.7, 9.9.12