[Swan-dev] New Defects reported by Coverity Scan for antonyantony/libreswan
scan-admin at coverity.com
scan-admin at coverity.com
Sat May 15 22:08:16 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 1504752: Null pointer dereferences (FORWARD_NULL)
________________________________________________________________________________________________________
*** CID 1504752: Null pointer dereferences (FORWARD_NULL)
/programs/pluto/ikev2_parent.c: 3159 in ikev2_in_IKE_AUTH_I_out_IKE_AUTH_R_auth_signature_continue()
3153 * XXX: This is to hack around the broken responder
3154 * code that switches from the IKE SA to the CHILD SA
3155 * before sending the reply. Instead, because the
3156 * CHILD SA can fail, the IKE SA should be the one
3157 * processing the message?
3158 */
>>> CID 1504752: Null pointer dereferences (FORWARD_NULL)
>>> Passing null pointer "child" to "v2_msgid_switch_responder_to_child", which dereferences it.
3159 v2_msgid_switch_responder_to_child(ike, child, md, HERE);
3160
3161 return status;
3162 }
3163
3164 static void ikev2_rekey_expire_pred(const struct state *st, so_serial_t pred)
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYobJQ_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2FNNqhXqAvnfHuRJmLCCjnHThzaKlBjtrx89KbjV8ln-2ByuYPRR-2F0k4pvcb-2FYwVb1IiQsrHPjFOL-2BNdMdPwN-2FYy2Ksi1Sk02yCHW6vogBsKlCeC9dSblCbsp3u-2FArQZ5T88IpBXknhQeyRfZtrdKG7rsg-2BHqx5H6LeDYGe6X2EGNqqsEDHDsibT6p7sK4xEP7e8-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiiuCM_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2FNNqhXqAvnfHuRJmLCCjnHThzaKlBjtrx89KbjV8ln-2B6hbEoWFgMOghIDywH-2BJRYLB22qHs-2BiJTDS5m0CRP52qc2FgL8Uwze29-2BueYLu-2FyGGy1QIXAd4z8-2BqcfADUPsKxXC6kaaCjBrB8mYL2o5GddN-2FWhxkkqnrgw6EDYlo6KbrqwKwLxqu-2BKIlaGI9FwnGc-3D
More information about the Swan-dev
mailing list