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

scan-admin at coverity.com scan-admin at coverity.com
Tue Jun 22 10:08:44 UTC 2021


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 1505288:  Null pointer dereferences  (NULL_RETURNS)


________________________________________________________________________________________________________
*** CID 1505288:  Null pointer dereferences  (NULL_RETURNS)
/programs/pluto/ikev2_ts.c: 1466 in v2_process_ts_request()
1460     		 * XXX: hack to get around IKE wrongly having an
1461     		 * instance connection.
1462     		 */
1463     		dbg("  instantiating template security label connection via parent");
1464     		/* sure looks like a sec-label instance */
1465     		struct connection *t = connection_by_serialno(c->serial_from);
>>>     CID 1505288:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a pointer that might be "NULL" "t" when calling "scribble_ts_on_connection".
1466     		struct connection *s = scribble_ts_on_connection(t, child, &tsi, &tsr,
1467     								 END_WIDER_THAN_TS,
1468     								 /*definitely_shared?*/true,
1469     								 best_sec_label);
1470     		if (!pexpect(s != NULL)) {
1471     			return false;


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYvrBt_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38OR8sGQqvE3pF9xGJgSr2ya5YfdNT9pOFvvxDpJ-2BVbEn8Tqq2LIVKZxrncVjCycX9aqBHymqCapHLrs5OyU6YDnM4VHaOv3Y30lYfIBs-2B-2B8gcCp491Tb5QcFEtlETrK2gpl-2F2bcgeXcxExqfRKtluCmxiq7ahGIQlYxX0yYJmzYiq57TIwSIF0aYzc6mi0hy0-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxii0jt_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ38OR8sGQqvE3pF9xGJgSr2ya5YfdNT9pOFvvxDpJ-2BVbEsUPS-2BkoG8G93J4mXwGoGeon381ocJohhy0dBYOmVqpCWIAZ4sYjSxLWWmumSVPvxx9u4ba6fICedj1-2BOfrddumpISYH9VxrfupD8txnNegsk6DIDLaeBKaJc3-2FQPeY8OKVJve9GLRA-2BuXzwEg08hyQ-3D



More information about the Swan-dev mailing list