Subject: | New Defects reported by Coverity Scan for BIND |
To: | bind9-bugs@isc.org |
From: | scan-admin@coverity.com |
Date: | Sat, 08 Jul 2017 13:40:42 +0000 (UTC) |
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