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

scan-admin at coverity.com scan-admin at coverity.com
Fri Dec 9 01:50:58 EET 2022


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 1529756:  Memory - illegal accesses  (UNINIT)
/programs/pluto/state.c: 1465 in delete_states_by_connection()


________________________________________________________________________________________________________
*** CID 1529756:  Memory - illegal accesses  (UNINIT)
/programs/pluto/state.c: 1465 in delete_states_by_connection()
1459     
1460     	if (c->child.routing == RT_ROUTED_TUNNEL) {
1461     		llog_pexpect(c->logger, HERE, "routing should not be ROUTED_TUNNEL (what should it be?)");
1462     	}
1463     
1464     	unsigned spd_i = 0;
>>>     CID 1529756:  Memory - illegal accesses  (UNINIT)
>>>     Using uninitialized value "spd".
1465     	for (const struct spd_route *spd = spd; spd != NULL; spd = spd->spd_next) {
1466     		spd_i++;
1467     		/*
1468     		 * These passerts are not true currently due to
1469     		 * mobike.  Requires some re-implementation. Use
1470     		 * pexpect for now.


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYQIxX_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ39i9TQbE4WKIrF2VQSS5zr-2BurxseCA7HNjlrRk5Rg3DEaFeRlDXfP5KmEmyCiXyTgO-2Bp-2FikIU0-2BrAZ2ZI85j4-2BqR2xWL-2F-2Buyn3RyIh1JmPIE8wqr4RRfTUg1hQouWClN4OSsS9rv2Jo37a-2FUFZG1R-2FV3UXDiwJPX5PfU9n2BhU0-2Fa6H84MzsLBK6bYs0ZdTfpE-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiL1ua_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ39i9TQbE4WKIrF2VQSS5zr-2BurxseCA7HNjlrRk5Rg3DEYvXZbrdDh3nq0PVBoLOUxUHIG4TKMYVRPexPXghNL-2BcGxJZKohpkmRDus6dw3KC5SMKfeBhDTkiSTjitjo5rGVxcGiqaqvMI0jHiABvKepy-2FDl2V45atzgyTV9UNO1LOceUJOs1BDfDlZTFrLprV6I-3D



More information about the Swan-dev mailing list