Subject: New Defects reported by Coverity Scan for BIND Content-Transfer-Encoding: 7bit To: bind9-bugs@isc.org From: scan-admin@coverity.com Received: from mx.pao1.isc.org (mx.pao1.isc.org [IPv6:2001:4f8:0:2::2b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.pao1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id 86D4ED78B09 for ; Fri, 15 Sep 2017 16:00:50 +0000 (UTC) Received: from o2.lv1e.shared.sendgrid.net (o2.lv1e.shared.sendgrid.net [167.89.100.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id BFB0B34C788 for ; Fri, 15 Sep 2017 16:00:36 +0000 (UTC) Received: by filter0002p3las1.sendgrid.net with SMTP id filter0002p3las1-28034-59BBF922-25 2017-09-15 16:00:34.597120766 +0000 UTC Received: from coverity.com (static-208.69.177.245.nephosdns.com [208.69.177.245]) by ismtpd0004p1sjc2.sendgrid.net (SG) with ESMTP id FrO_YxRYSkqRR-doMii-dw for ; Fri, 15 Sep 2017 16:00:34.561 +0000 (UTC) Date: Fri, 15 Sep 2017 16:00:34 +0000 (UTC) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0 Return-Path: X-SG-Eid: uPQY/PSEC3ak/LLcPcC99kg9NGNeB6wETrwl1vYqrUOb2jUPoz2oU4hr9g9749T8EmNWGJsqbouRUj unNDi04bWIIdHVOrJzez2ELf/W8YgHk8qBVOoAwS5O1EJAyyGDsRers2WaFz1xA4VuL7RnFcJLwIIC +5ORh9QfioGDok6UgB6RIcQ4VzOlr4OawUj4/6sl+z6a/8iUiPA7Hbt+5g== X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org From bounces+2389337-182f-bind9-bugs=isc.org@sendgrid.net Fri Sep 15 16:00:50 2017 MIME-Version: 1.0 Message-ID: <59bbf92280b75_2176717334785c@ss1435.mail> content-type: text/plain; charset="utf-8" Delivered-To: bind9-confidential@bugs.isc.org X-RT-Incoming-Encryption: Not encrypted X-Original-To: bind9-confidential@bugs.isc.org Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.net; h=from:to:subject:mime-version:content-type:content-transfer-encoding; s=smtpapi; bh=WOPugGMSfREUARLAhQJ6y3Hfxw8=; b=WJWZCHQw49qjcpv/To +tf6GLXpk8JEYhgplepVlgASleX9yh7UdfBTEqI939wi4Cb+w8COkl1K0ROGOPvH qYnm4RBenHYfPZa7wE1upjpFfO87sRb8JqAmJA+7QT5Se8yjW65py34hODeD7/zN c8O3y9O3caFnXiSV6YFfVn1qg= X-RT-Original-Encoding: utf-8 X-RT-Interface: Email Content-Length: 3076 Hi, Please find the latest report on new defect(s) introduced to BIND found with Coverity Scan. 2 new defect(s) introduced to BIND found with Coverity Scan. 4 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 1417752: Control flow issues (DEADCODE) /bin/named/server.c: 2345 in configure_rpz() ________________________________________________________________________________________________________ *** CID 1417752: Control flow issues (DEADCODE) /bin/named/server.c: 2345 in configure_rpz() 2339 2340 if (dnsrps_enabled) { 2341 /* 2342 * Generate the DNS Response Policy Service 2343 * configuration string. 2344 */ >>> CID 1417752: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "result = conf_dnsrps(view, ...". 2345 result = conf_dnsrps(view, maps, 2346 nsip_enabled, nsdname_enabled, 2347 &nsip_on, &nsdname_on, 2348 &rps_cstr, &rps_cstr_size, 2349 rpz_obj, zone_element); 2350 if (result != ISC_R_SUCCESS) ** CID 1417751: Control flow issues (DEADCODE) /lib/irs/getnameinfo.c: 323 in irs_getnameinfo() ________________________________________________________________________________________________________ *** CID 1417751: Control flow issues (DEADCODE) /lib/irs/getnameinfo.c: 323 in irs_getnameinfo() 317 case DNS_R_COVERINGNSEC: 318 case DNS_R_NOTAUTHORITATIVE: 319 case DNS_R_NOVALIDKEY: 320 case DNS_R_NOVALIDDS: 321 case DNS_R_NOVALIDSIG: 322 ERR(EAI_INSECUREDATA); >>> CID 1417751: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "break;". 323 break; 324 default: 325 ERR(EAI_FAIL); 326 } 327 328 /* Parse the answer for the hostname */ ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRatftY8JjD0XUVeK0eDwSEPh4vRqywf0w3swJ8N5sF82Q-3D-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2BmidshrjiPDbQNKu4jHz2Sgaw3OuxzTZLZTCdPl38sDK7KGQJqEWiCrSO0dxKhMLEikjPV7M3KhQInKDdN8TjBj-2FdCfdThX0gYND-2BfTU0rEPr9s-2B5iphyeNHNG-2FKNPuSD7kGAUqUhH2rzUojyPrL61wQismIjuBi20G8OmmL5wGBJyeyfgYEMSI-2FHhuhA97MXCmjzgBY-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-2BmidshrjiPDbQNKu4jHz2Sgaw3Ouxyj0qNF-2FpR6A56cFowT26l6XZE5yuaIwE7e4cer-2BMLKTnF-2FrD3ySSimODcPeq0dd9OCBL9GeXgoSHfT0NfpaCULJ98nTT-2FSF-2FRZUJYMJ8dj07vKwuxvKTxXIQsNKwFbwlmva7ytR5KrnF4mIeWKUGk96EuvRKGU2hApcFq6CMTLc-3D