[Swan-dev] New Defects reported by Coverity Scan for antonyantony/libreswan
scan-admin at coverity.com
scan-admin at coverity.com
Tue Jul 20 10:09:03 UTC 2021
Hi,
Please find the latest report on new defect(s) introduced to antonyantony/libreswan found with Coverity Scan.
1 new defect(s) introduced to antonyantony/libreswan found with Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)
** CID 1505986: Null pointer dereferences (REVERSE_INULL)
/programs/pluto/ikev2_ipseckey.c: 485 in responder_fetch_idi_ipseckey()
________________________________________________________________________________________________________
*** CID 1505986: Null pointer dereferences (REVERSE_INULL)
/programs/pluto/ikev2_ipseckey.c: 485 in responder_fetch_idi_ipseckey()
479 if (id.kind == ID_FQDN) {
480 dnsr_a = qry_st_init(ike, LDNS_RR_TYPE_A, "A",
481 idi_a_fetch_continue,
482 callback);
483 dnsr_a->validate_address_cb = validate_address;
484
>>> CID 1505986: Null pointer dereferences (REVERSE_INULL)
>>> Null-checking "dnsr_a" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
485 if (dnsr_a == NULL) {
486 free_ipseckey_dns(dnsr_idi);
487 return DNS_FATAL;
488 }
489 ret_a = dns_qry_start(dnsr_a);
490 }
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYmXu5_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ383zmOqUc1OaWcsITw1PMYaiocQtFyBWJqjbB3J9AOg1EpRSz7YdYbiI8vjjwkmePfw1x1Q1NTJZGt-2By0SZKGls0LMzU-2BxMRMnr20O4wkRwuiQVvYfL-2FHvjmTpIEwQUCBor5XVKl-2B8I-2FjhR54D0-2BqZtfF2ePGFZNmL72BHEalEfncnSj1ipfy5SbIhkrTCI0ik-3D
To manage Coverity Scan email notifications for "swan-dev at lists.libreswan.org", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXxUzCfl-2FUi6sRJtnGH1-2FWXEIl9xkb2JliKiAkqgdujeIgWYvUCIHO1g-2Ba8I-2B0nANYHmrw9-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiNh71_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ383zmOqUc1OaWcsITw1PMYaiocQtFyBWJqjbB3J9AOg1LVMMONN3JUQntSUPSQ9eIlhhGq7NaWKhNsxfBqs71RcEeg9z7PMQJjv-2BsZO-2B-2FttVKyji-2FYgaak3kch77MgO-2B3Ovg4QbfUxPRWx3cFdB0W-2FV6r8gcMBs2Bo87m2nMZqfKhJ8Q-2FSJ0wgpc9Q1ck6SkbY-3D
More information about the Swan-dev
mailing list