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

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
9.9.12, 9.9.12(sub), 9.10.7, 9.10.7(sub), 9.11.3, 9.12.1, 9.13.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:
(no value)
Area:
bug

Dates
Created:Mon, 29 Jan 2018 18:28:28 -0500
Updated:Tue, 30 Jan 2018 07:19:23 -0500
Closed:Mon, 29 Jan 2018 23:31:01 -0500



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.

Date: Mon, 29 Jan 2018 13:28:28 -1000
From: marka@isc.org
Subject: possible reference leak in dns_update_signaturesinc(
To: bind9-public@isc.org
According to code inspection, there seems to be possible reference leak to dns_dbnode_t in lib/dns/update.c:dns_update_signaturesinc(): CHECK(dns_db_findnode(db, dns_db_origin(db), ISC_FALSE, &node)); dns_rdataset_init(&rdataset); CHECK(dns_db_findrdataset(db, node, newver, dns_rdatatype_soa, 0, (isc_stdtime_t) 0, &rdataset, NULL)); CHECK(dns_rdataset_first(&rdataset)); dns_rdataset_current(&rdataset, &rdata); CHECK(dns_rdata_tostruct(&rdata, &soa, NULL)); state->nsecttl = soa.minimum; dns_rdataset_disassociate(&rdataset); dns_db_detachnode(db, &node); If some of the above CHECK fails after dns_db_findnode() succeeds, it jumps to 'failure', but 'node' isn't detached in that code block and will leak. The same issue seems to exist for ol
ready for review
Date: Tue, 30 Jan 2018 08:54:42 +0530
Subject: Re: [ISC-Bugs #47084] possible reference leak in dns_update_signaturesinc(
To: "Mark Andrews via RT" <bind9-public@isc.org>
From: "Mukund Sivaraman" <muks@isc.org>
On Mon, Jan 29, 2018 at 11:37:12PM +0000, Mark Andrews via RT wrote: > ready for review Looks good. Mukund
4882. [bug] Address potential memory leak in dns_update_signaturesinc. [RT #47084]