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

scan-admin at coverity.com scan-admin at coverity.com
Mon Nov 21 13:51:09 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 1527477:    (UNINIT)


________________________________________________________________________________________________________
*** CID 1527477:    (UNINIT)
/programs/pluto/ikev2_ts.c: 1774 in verify_rekey_child_request_ts()
1768     	};
1769     
1770     	enum fit responder_selector_fit = END_NARROWER_THAN_TS;
1771     	enum fit responder_sec_label_fit = END_EQUALS_TS;
1772     
1773     	struct narrowed_selector_payloads best;
>>>     CID 1527477:    (UNINIT)
>>>     Using uninitialized value "best.i.score.range" when calling "fit_tsps_to_ends".
1774     	if (!fit_tsps_to_ends(&best, &their_tsps, &ends,
1775     			      responder_selector_fit,
1776     			      responder_sec_label_fit, indent)) {
1777     		llog_sa(RC_LOG_SERIOUS, child,
1778     			  "rekey: received Traffic Selectors does not contain existing IPsec SA Traffic Selectors");
1779     		return false;
1780     	}
1781     
1782     	return true;
/programs/pluto/ikev2_ts.c: 1774 in verify_rekey_child_request_ts()
1768     	};
1769     
1770     	enum fit responder_selector_fit = END_NARROWER_THAN_TS;
1771     	enum fit responder_sec_label_fit = END_EQUALS_TS;
1772     
1773     	struct narrowed_selector_payloads best;
>>>     CID 1527477:    (UNINIT)
>>>     Using uninitialized value "best.r.score.range" when calling "fit_tsps_to_ends".
1774     	if (!fit_tsps_to_ends(&best, &their_tsps, &ends,
1775     			      responder_selector_fit,
1776     			      responder_sec_label_fit, indent)) {
1777     		llog_sa(RC_LOG_SERIOUS, child,
1778     			  "rekey: received Traffic Selectors does not contain existing IPsec SA Traffic Selectors");
1779     		return false;
1780     	}
1781     
1782     	return true;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYMe2k_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2B7ToQd5mNSHc70FDUbWPg1dubW-2BFMinqo5T5bsFv-2BkwAkaktAPKxI39tzUmp8t-2BddwYC-2FzVErKJIy6pDbgVaGcGi6DFtxZGxeGuZ4lYnTW5VfRiUPLqOGRQFpinFtGUZPz9yANBcqeWyRcRRc6lZIJvd2hibPKQR2D6CZmf7ffReZtiorhg2SpYjxKYO4dkEE-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxif86w_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2B7ToQd5mNSHc70FDUbWPg1dubW-2BFMinqo5T5bsFv-2BkwDKp9-2Bkx7b-2BGLP5O4Oj4JmWl2TVAH-2FgR15RGaHfT8a7NscLj7INXzsFEahGAJkctP-2BnB2POO-2B1vpO-2B17dLQVUGuk1wmQaEaWoDlRIOcSen6AZCh-2F8EsQ5yf1vrw5iIWR9jrPRK3wwFFbNO15x86SPSg-3D



More information about the Swan-dev mailing list