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

scan-admin at coverity.com scan-admin at coverity.com
Thu Jun 10 10:08:36 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 1505178:  Null pointer dereferences  (FORWARD_NULL)


________________________________________________________________________________________________________
*** CID 1505178:  Null pointer dereferences  (FORWARD_NULL)
/programs/pluto/ikev1_aggr.c: 1044 in aggr_outI1_continue()
1038     	 */
1039     	struct msg_digest *fake_md = alloc_md(NULL/*iface-port*/, &unset_endpoint, HERE);
1040     	fake_md->v1_st = st;
1041     	fake_md->smc = NULL;	/* ??? */
1042     	fake_md->fake_dne = true;
1043     
>>>     CID 1505178:  Null pointer dereferences  (FORWARD_NULL)
>>>     Passing "fake_md" to "complete_v1_state_transition", which dereferences null "fake_md->smc".
1044     	complete_v1_state_transition(st, fake_md, e);
1045     	md_delref(&fake_md, HERE);
1046     
1047     	return STF_SKIP_COMPLETE_STATE_TRANSITION;
1048     }
1049     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYYDfF_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2FOZbtTRyxfl2OR1VrI5EXUiezVsM-2FiwNjEqoINHlOYRCYeeB0n8614UCUdnRrjeWRQkVY8hG8kh4aDnXBjZvDr7b12QSTILkofyY5TmE6IBFIop8TaCc9796nczW3K8r566CoPFpSDh2785l8uJ4mHImj1Eeiw2i9Y1JISoV22myLYyz8agLMPzPOolQGECkY-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiUWXl_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2FOZbtTRyxfl2OR1VrI5EXUiezVsM-2FiwNjEqoINHlOYRB18xFiHL3L8Y7P8bM3uqCpcqdCByfw42Rvg6VQUtTRj0wIawOBVsyj-2BSbsmiOlBloEc9GXVmj6m7E1fufZLJZ5lV8hn4t-2BNpbwoe-2Bk6d1ZsurEK67e5OBlHIqE6Kt15uLsoaXM72DBvlprgfgA4fIg-3D



More information about the Swan-dev mailing list