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

scan-admin at coverity.com scan-admin at coverity.com
Mon Nov 7 01:51:00 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 1527161:  Control flow issues  (DEADCODE)
/programs/pluto/connections.c: 2747 in extract_connection()


________________________________________________________________________________________________________
*** CID 1527161:  Control flow issues  (DEADCODE)
/programs/pluto/connections.c: 2747 in extract_connection()
2741     		 *
2742     		 * passert(!address_is_specified(wild_side->host->addr))
2743     		 */
2744     		passert(virt_side->virt == NULL);
2745     		virt_side->virt = virtual_ip_addref(virt_end->virt);
2746     		if (d != NULL) {
>>>     CID 1527161:  Control flow issues  (DEADCODE)
>>>     Execution cannot reach this statement: "llog_diag(RC_FATAL, c->logg...".
2747     			llog_diag(RC_FATAL, c->logger, &d, ADD_FAILED_PREFIX);
2748     			return false;
2749     		}
2750     		virt_side->has_client = true;
2751     	}
2752     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYFZ_2_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BAa3Cj95DsWK6S-2F2mNAHJBD4RoNPwo50hIWjXXECSEzNRF-2FOYzZvIYSjhByINsQH3BAoJK-2Bk9FA2ODmU9Un-2Fro7STPnC5PD7bBLF5EBWllLE3aWObuGsqvBrfuxJC30-2FldY6ZWKX1M8dUnQgiBXVazwu8s3yxcYpqaYHA5eWhoC1VCHIunVEI0RniprWhH3DY-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiKCDB_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BAa3Cj95DsWK6S-2F2mNAHJBD4RoNPwo50hIWjXXECSEzAl-2BT0zPDLKniUyuUhQpXGmjF23YIL1gIq0Y38qzOKp0YzpHFliY0mwNLlWSrnkM8IY9Ppg-2F56-2Fr2FfKcXNYGoOcYSPb59XJkvP2tFptVzGIPGUWkrsTBxCViIUZ9HM4PiOlz84Xrh6ZF7KnvEuG6iI-3D



More information about the Swan-dev mailing list