[Swan-dev] New Defects reported by Coverity Scan for antonyantony/libreswan

scan-admin at coverity.com scan-admin at coverity.com
Sat Aug 14 10:08:20 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.
2 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 1 of 1 defect(s)


** CID 1506280:    (UNINIT)
/programs/pluto/connections.c: 3428 in refine_host_connection_on_responder()


________________________________________________________________________________________________________
*** CID 1506280:    (UNINIT)
/programs/pluto/connections.c: 3428 in refine_host_connection_on_responder()
3422     			 */
3423     
3424     			/*
3425     			 * d has passed all the tests.
3426     			 * We'll go with it if the Peer ID was an exact match.
3427     			 */
>>>     CID 1506280:    (UNINIT)
>>>     Using uninitialized value "wildcards".
3428     			if (matching_peer_id && wildcards == 0 &&
3429     			    peer_pathlen == 0 && our_pathlen == 0) {
3430     				*fromcert = d_fromcert;
3431     				connection_buf dcb;
3432     				dbg("    returning "PRI_CONNECTION" because exact peer id match",
3433     				    pri_connection(d, &dcb));
/programs/pluto/connections.c: 3272 in refine_host_connection_on_responder()
3266     			bool matching_requested_ca = match_requested_ca(requested_ca,
3267     							d->spd.this.ca,
3268     							&our_pathlen);
3269     
3270     			if (DBGP(DBG_BASE)) {
3271     				connection_buf b1, b2;
>>>     CID 1506280:    (UNINIT)
>>>     Using uninitialized value "wildcards" when calling "DBG_log".
3272     				DBG_log("  refine_host_connection: checking "PRI_CONNECTION" against "PRI_CONNECTION", best=%s with match=%d(id=%d(%d)/ca=%d(%d)/reqca=%d(%d))",
3273     					pri_connection(c, &b1), pri_connection(d, &b2),
3274     					best_found != NULL ? best_found->name : "(none)",
3275     					matching_peer_id && matching_peer_ca && matching_requested_ca,
3276     					matching_peer_id, wildcards,
3277     					matching_peer_ca, peer_pathlen,


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYmvUR_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BVvseM-2Ba-2F3SRb6qAxuVghOesh78ITTmC2S2mrtTDwU-2F3zKG2CGSnGN-2BxAhDDPbwkxpE1aE5WgU-2BVKaPFLK0oBqvEF-2FHSnYp37O2Z7LLjH-2BBelzZyem-2FsVTTcP0WSJAcePAemOwj7SvhnksvWlWApDLMTLEL-2FlnQLHNUpa4RClO8gI4Q2TgRQSMqwyubtpH6EI-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxizNH-_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BVvseM-2Ba-2F3SRb6qAxuVghOesh78ITTmC2S2mrtTDwU-2F9qVtB-2F-2FRmCcPEDGeTSPX1swR4q0U4lToir4jqxrxTk9e5UtCFB-2F5KSh3PpNmfnfX0f61MfECEFQi57pgQNck-2FljRWUQKMyICyJHqFOB8fyg1T9e8lPNp7Ilpczvp1DRzo8kCO-2Fo7L4ubx3JhtWKfwI-3D



More information about the Swan-dev mailing list