Report information
The Basics
Id:
45891
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:
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:
(no value)
Area:
bug

Dates
Created:Thu, 31 Aug 2017 18:49:48 -0400
Updated:Tue, 05 Sep 2017 09:29:21 -0400
Closed:Tue, 05 Sep 2017 09:29: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.

To: bind9-bugs@isc.org
Subject: New Defects reported by Coverity Scan for BIND
From: scan-admin@coverity.com
Date: Thu, 31 Aug 2017 22:49:41 +0000 (UTC)
Hi, Please find the latest report on new defect(s) introduced to BIND found with Coverity Scan. 1 new defect(s) introduced to BIND found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1417202: Code maintainability issues (UNUSED_VALUE) /lib/dns/resolver.c: 5405 in validated() ________________________________________________________________________________________________________ *** CID 1417202: Code maintainability issues (UNUSED_VALUE) /lib/dns/resolver.c: 5405 in validated() 5399 result = dns_db_findnode(fctx->cache, wild, ISC_TRUE, &wnode); 5400 if (result == ISC_R_SUCCESS) 5401 result = dns_db_addrdataset(fctx->cache, wnode, NULL, 5402 now, vevent->rdataset, 0, 5403 NULL); 5404 if (result == ISC_R_SUCCESS) >>> CID 1417202: Code maintainability issues (UNUSED_VALUE) >>> Assigning value from "dns_db_addrdataset(fctx->cache, wnode, NULL, now, vevent->sigrdataset, 0U, NULL)" to "result" here, but that stored value is overwritten before it can be used. 5405 result = dns_db_addrdataset(fctx->cache, wnode, NULL, 5406 now, vevent->sigrdataset, 5407 0, NULL); 5408 if (wnode != NULL) 5409 dns_db_detachnode(fctx->cache, &wnode); 5410 } ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRatftY8JjD0XUVeK0eDwSEPh4vRqywf0w3swJ8N5sF82Q-3D-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2Bmidshrj06U24-2F-2FlZu5-2BUF3P1Y5AJHQR012up5ezrSyIyzEg43SU8slSnxUzvU3RpkTecOfbW7NoCgyHVeAXtPRuwuE0vkLJWFLlvGQpxlJv95o9azYFgYITKUwtkKtCtYe91Iemy877cqMfTsW3N-2Fdr-2FkeJYnKpWq1E4tbdVan2RZVgm3w-3D-3D To manage Coverity Scan email notifications for "bind9-bugs@isc.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4rIy41Xs74BznZj4k3EIh0OhIeqrl4tMKvZau-2B5LUEdCBSWjNYx5kf-2B92zKd1nnWiMMfay-2Fg7DuBn2-2BCqidUp9Y39BJMi1Fd-2FeSXcvFgX1I4-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2Bmidshrj06U24-2F-2FlZu5-2BUF3P1Y5AJMVpHXr1IL3FQ32LKgc-2F7fgeSgKO0LhvNBjPMJyeHKEpcQg6TYvipVJO0clJ-2FZA1M8Qjv3evaOf-2BRf-2B09FcQgkwBUvtfDWbOdYng0fh3VWMhGNt1iN5sFNmo3yaMDuLDLxkvVfLcpCiLcFf0meyK7nw-3D-3D
ready for review
Looks fine.
silence converity warning [RT #45891]