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

scan-admin at coverity.com scan-admin at coverity.com
Fri Jan 20 01:51:02 EET 2023


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 1530751:  Control flow issues  (DEADCODE)
/programs/pluto/kernel.c: 2630 in install_outbound_ipsec_kernel_policies()


________________________________________________________________________________________________________
*** CID 1530751:  Control flow issues  (DEADCODE)
/programs/pluto/kernel.c: 2630 in install_outbound_ipsec_kernel_policies()
2624     	/*
2625     	 * Finally clean up.
2626     	 */
2627     
2628     	FOR_EACH_ITEM(spd, &c->child.spds) {
2629     		if (!ok) {
>>>     CID 1530751:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "break;".
2630     			break;
2631     		}
2632     #ifdef USE_CISCO_SPLIT
2633     		if (c->remotepeertype == CISCO &&
2634     		    spd == c->spd &&
2635     		    spd->spd_next != NULL) {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYCxUM_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38y2a5IXlAVeexTnxiyvLsXzlPHQKMkeGWMIJ-2BqBxZ8KkvkAThqulaubcAe4GUYsuy0YxLrOQLldhSbbvVQ6JSLRsTlN2jfePLR8a-2Bib3dWFRaoBuNKhGozTyWu8o3nUVFLybn50CJRxQX9r65u-2BKJCssk1Sq831vI-2B4aqBTB5PpEm3WWFkzay4UM5S0Bh7FOA-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxi0r3V_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38y2a5IXlAVeexTnxiyvLsXzlPHQKMkeGWMIJ-2BqBxZ8Kl-2BekhesfuAkllDUF-2FaGnR11t1RorM16GV7ups9YZZu1EBo5DUWrr72aKDVjZEtdTZh7kXMZvj432iPojIr36hthrgk2E4gkvrI8jcev1N07cBwGzH1Nw1hf8GBbFLcxaVkkQaC7p0C3Nnu9ptgBr6M-3D



More information about the Swan-dev mailing list