[Swan-dev] New Defects reported by Coverity Scan for antonyantony/libreswan
scan-admin at coverity.com
scan-admin at coverity.com
Wed Jan 11 13:50:57 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 1530552: Control flow issues (DEADCODE)
/programs/pluto/kernel.c: 937 in spd_owner()
________________________________________________________________________________________________________
*** CID 1530552: Control flow issues (DEADCODE)
/programs/pluto/kernel.c: 937 in spd_owner()
931 if (!oriented(c)) {
932 llog(RC_LOG, logger,
933 "connection no longer oriented - system interface change?");
934 return NULL;
935 }
936 selector_pair_buf spb;
>>> CID 1530552: Control flow issues (DEADCODE)
>>> Execution cannot reach the expression ""policy"" inside this statement: "ldbg(logger, "%*slooking fo...".
937 ldbg(logger, "%*slooking for SPD %s owner of %s",
938 indent, "",
939 (owner_type == ROUTE_OWNER ? "route" :
940 owner_type == ROUTE_OWNER ? "policy" :
941 "???"),
942 str_selector_pair(&spd->local->client, &spd->remote->client, &spb));
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kY409P_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38NqhrOgarJMtGq0Hb4hcLIwtwS3gfi3Q0gfCpkVY3VOP8bNe4Vn7-2Bo3xHtVIDuFj78VSH-2FkMaq4S-2BF1nPX-2BjRl37gENOJxjevmcsHUl5tc0LnzannuYsELbwwglclRs5zuh8Clwr9U-2FFUA5pzCPiWkJYuNNPg-2BRgfZ1MEw9GOjjD1P-2BDys-2FCy32336klRTp5A-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudximHBR_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38NqhrOgarJMtGq0Hb4hcLIwtwS3gfi3Q0gfCpkVY3VOIKrvVBa0MP54AyPfv65LR6CCsq2yXCi2P2tQtmXMUAy0dc19VRhuguTdpoUvjsrV5e-2BjUNyP-2F9U7EN2odIBRMeVa3cAWiDPduar50J38jyMWnrVjjxpC7omgCkHnj-2FsUPEF63ZcoB-2BDpy9ER3MMg10-3D
More information about the Swan-dev
mailing list