Subject: New Defects reported by Coverity Scan for BIND To: bind9-bugs@isc.org From: scan-admin@coverity.com X-RT-Incoming-Encryption: Not encrypted Return-Path: content-type: text/plain; charset="utf-8" From bounces+2389337-182f-bind9-bugs=isc.org@sendgrid.net Sat Jul 8 13:40:50 2017 X-Original-To: bind9-confidential@bugs.isc.org Date: Sat, 08 Jul 2017 13:40:42 +0000 (UTC) X-SG-Eid: uPQY/PSEC3ak/LLcPcC99kg9NGNeB6wETrwl1vYqrUMbsGHdg4BcEqSLCYnjwuSMiUlk2LiAAlbcUh e6GBC7uMefYQLkYFYp4dDC1E0YBYnj4npUDdCe+/mxdsM/XV94YvPuVDUHSC+yIzxr7DdL6GYpg9TK 4Sk1baNhqNXz+V0mlWr1eoHc0NAsVq8eJIPrRYb4Qk7jxiUmBLvAtZ8BEg== MIME-Version: 1.0 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 6911FD78A84 for ; Sat, 8 Jul 2017 13:40:50 +0000 (UTC) Received: from o2.lv30e.shared.sendgrid.net (o2.lv30e.shared.sendgrid.net [50.31.63.43]) (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 C62183493A2 for ; Sat, 8 Jul 2017 13:40:43 +0000 (UTC) Received: by filter0287p1las1.sendgrid.net with SMTP id filter0287p1las1-17335-5960E0D9-13 2017-07-08 13:40:41.654872108 +0000 UTC Received: from coverity.com (static-208.69.177.245.nephosdns.com [208.69.177.245]) by ismtpd0002p1sjc2.sendgrid.net (SG) with ESMTP id -YwoUvvLREGKexuOBya3ow for ; Sat, 08 Jul 2017 13:40:41.632 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mx.pao1.isc.org X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=no autolearn_force=no version=3.4.0 Content-Transfer-Encoding: 7bit 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=e+sAJhwXejDKnm/2WeoX2XdKrf4=; b=cSB2T4KgOPOTFmvz6c hR7fkrqlCLn3bcIB35p7SilueRG51p6u07p1tSxjpY1LXcmh+UtB0J5axf1F/JCp G3tP9mcc3I0KOO1dltf43b0P/ExFmBs8cIFK7ZmHqF4jFo1qfwtOfpGybLKmB+4V 5fQt/Guv5mJdhXY2btUFm6nyw= Message-ID: <5960e0d98296a_59999713149887@ss1435.mail> Delivered-To: bind9-confidential@bugs.isc.org X-RT-Original-Encoding: utf-8 X-RT-Interface: Email Content-Length: 4099 Hi, Please find the latest report on new defect(s) introduced to BIND found with Coverity Scan. 3 new defect(s) introduced to BIND found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 3 of 3 defect(s) ** CID 1414706: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 476 in atfu_tsig_tcp_body() ________________________________________________________________________________________________________ *** CID 1414706: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 476 in atfu_tsig_tcp_body() 470 if (tsigin != NULL) 471 isc_buffer_free(&tsigin); 472 if (tsigout != NULL) 473 isc_buffer_free(&tsigout); 474 if (buf != NULL) 475 isc_buffer_free(&buf); >>> CID 1414706: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "msg" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 476 if (msg != NULL) 477 dns_message_destroy(&msg); 478 if (key != NULL) 479 dns_tsigkey_detach(&key); 480 if (ring != NULL) 481 dns_tsigkeyring_detach(&ring); ** CID 1414705: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 478 in atfu_tsig_tcp_body() ________________________________________________________________________________________________________ *** CID 1414705: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 478 in atfu_tsig_tcp_body() 472 if (tsigout != NULL) 473 isc_buffer_free(&tsigout); 474 if (buf != NULL) 475 isc_buffer_free(&buf); 476 if (msg != NULL) 477 dns_message_destroy(&msg); >>> CID 1414705: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "key" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 478 if (key != NULL) 479 dns_tsigkey_detach(&key); 480 if (ring != NULL) 481 dns_tsigkeyring_detach(&ring); 482 dns_test_end(); 483 } ** CID 1414704: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 472 in atfu_tsig_tcp_body() ________________________________________________________________________________________________________ *** CID 1414704: Null pointer dereferences (REVERSE_INULL) /lib/dns/tests/tsig_test.c: 472 in atfu_tsig_tcp_body() 466 if (outctx != NULL) 467 dst_context_destroy(&outctx); 468 if (querytsig != NULL) 469 isc_buffer_free(&querytsig); 470 if (tsigin != NULL) 471 isc_buffer_free(&tsigin); >>> CID 1414704: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "tsigout" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 472 if (tsigout != NULL) 473 isc_buffer_free(&tsigout); 474 if (buf != NULL) 475 isc_buffer_free(&buf); 476 if (msg != NULL) 477 dns_message_destroy(&msg); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRatftY8JjD0XUVeK0eDwSEPh4vRqywf0w3swJ8N5sF82Q-3D-3D_QjBaZtEJDFdtBJj3YWWx4OwxXn6h7X1bCFA-2Bmidshrh9ek5IN2raTthYyTWi0M-2Bfp-2Fzbixb2rbu5oUwYCNKZx46SW0HI4feb5Ds2kU-2BVz6FCJrZqOuVfLuOrlgytGl3CwiS9RKo8WlZCXR9SLVQ3de9SVsSnY3qa2A9XklvFs3PcdEkRjxuLavIw1YZ7mxAzBYnkM-2FKiChtZJEY-2BXaC-2BBmWkr4GG5ROg5vLJS320Z3M-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-2Bmidshrh9ek5IN2raTthYyTWi0M-2BfHXIjrqlPPM-2B9Z7d90uQNooLmxOR-2FQoAR0fshP8W0N-2B8CV4F8e5-2BmOH4DSvPvCDaCNe7P4CVf2haov-2B4z8QccsbGuqkh7Pc-2F2wWdQ1Apz374XzedEGRO1ZigaTyQvcl7OYYZaqlO792yHQTZH7jYtUoonwER5tLeyQpAsXOmI5pw-3D