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

People
Owner:
Nobody in particular
Requestors:
scan-admin@coverity.com(no email address set)
Cc:
AdminCc:

BugTracker
Version Fixed:
(no value)
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:Thu, 26 Oct 2017 18:14:20 -0400
Updated:Thu, 26 Oct 2017 19:04:41 -0400
Closed:Thu, 26 Oct 2017 19:04:41 -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: scan-admin@coverity.com
Date: Thu, 26 Oct 2017 22:14:13 +0000 (UTC)
Subject: New Defects reported by Coverity Scan for ISC-DHCP
To: dhcp-bugs@isc.org
Hi, Please find the latest report on new defect(s) introduced to ISC-DHCP found with Coverity Scan. 2 new defect(s) introduced to ISC-DHCP found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1420320: Resource leaks (RESOURCE_LEAK) /bind/bind-9.11.2/lib/dns/rbtdb.c: 7492 in deserialize32() ________________________________________________________________________________________________________ *** CID 1420320: Resource leaks (RESOURCE_LEAK) /bind/bind-9.11.2/lib/dns/rbtdb.c: 7492 in deserialize32() 7486 if (base == NULL || base == MAP_FAILED) { 7487 return (ISC_R_FAILURE); 7488 } 7489 7490 header = (rbtdb_file_header_t *)(base + offset); 7491 if (!match_header_version(header)) { >>> CID 1420320: Resource leaks (RESOURCE_LEAK) >>> Variable "header" going out of scope leaks the storage it points to. 7492 return (ISC_R_FAILURE); 7493 } 7494 7495 if (header->tree != 0) { 7496 result = dns_rbt_deserialize_tree(base, filesize, 7497 (off_t) header->tree, ** CID 1420319: Resource leaks (RESOURCE_LEAK) /bind/bind-9.11.2/lib/dns/rbtdb.c: 7492 in deserialize64() ________________________________________________________________________________________________________ *** CID 1420319: Resource leaks (RESOURCE_LEAK) /bind/bind-9.11.2/lib/dns/rbtdb.c: 7492 in deserialize64() 7486 if (base == NULL || base == MAP_FAILED) { 7487 return (ISC_R_FAILURE); 7488 } 7489 7490 header = (rbtdb_file_header_t *)(base + offset); 7491 if (!match_header_version(header)) { >>> CID 1420319: Resource leaks (RESOURCE_LEAK) >>> Variable "header" going out of scope leaks the storage it points to. 7492 return (ISC_R_FAILURE); 7493 } 7494 7495 if (header->tree != 0) { 7496 result = dns_rbt_deserialize_tree(base, filesize, 7497 (off_t) header->tree, ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRab6kucGE8G6mRE1FKR2Ag87FjH5D5EKomg9SJ1sIkWFA-3D-3D_XFX-2BxtADztfMDcW4r2GH7E6TGVT4PiaTwnwuQkVMpYoErefOEFV1x2XIAj8qFMQl3-2Fv6mhzCBTs0XO53H1Zn9jvnIpMcMPjFljygf7T-2BUdAuy1mkB0ENzzNr13JZbmpGOf8so9V2GLpnurJW-2FIJL9EZZ-2BdRy563-2F8THsNinpv-2F7AN3RIbb2jzXXsI7ZyHgnmXfiYUH1Z5chHT8qju4obPg-3D-3D To manage Coverity Scan email notifications for "dhcp-bugs@isc.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4VSUMfbZdfDe692MqhPm-2FjBlgt0jMCazKWgh17L1-2BKT8-2FRVwhIiDkSLwzkWTXmM-2F9gyMcfjzFAlSj57xJcTpCQFePWpS-2BYrfumELiSWoXoLY-3D_XFX-2BxtADztfMDcW4r2GH7E6TGVT4PiaTwnwuQkVMpYoErefOEFV1x2XIAj8qFMQlJsqPKZ5fPe4WPy2QJPTeJpEfdEx0FE2-2FGIpgEnVUhn-2BL-2BHZ42oIM0mQn4ODD8I7LP696Ym3vbsT89Y0GBrrwMTH0F4xix-2Fm2cG6ZQW4DlQGu2Uv0a4-2FlHgreeGuwHz58H45HaIdmCgckjF0yDEIBlg-3D-3D
Fixed in bind9. No CHANGES note. address resource leak [RT #46413].