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

scan-admin at coverity.com scan-admin at coverity.com
Fri May 21 22:08:46 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.
2 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1504903:  Null pointer dereferences  (REVERSE_INULL)
/programs/pluto/ikev2_delete.c: 356 in process_v2D_requests()


________________________________________________________________________________________________________
*** CID 1504903:  Null pointer dereferences  (REVERSE_INULL)
/programs/pluto/ikev2_delete.c: 356 in process_v2D_requests()
350     
351     					/* we just received a delete, don't send another delete */
352     					dst->sa.st_dont_send_delete = true;
353     					/* st is a parent */
354     					passert(&ike->sa != &dst->sa);
355     					passert(ike->sa.st_serialno == dst->sa.st_clonedfrom);
>>>     CID 1504903:  Null pointer dereferences  (REVERSE_INULL)
>>>     Null-checking "del_ike" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
356     					if (!del_ike) {
357     						struct ipsec_proto_info *pr =
358     							v2del->isad_protoid == PROTO_IPSEC_AH ?
359     							&dst->sa.st_ah :
360     							&dst->sa.st_esp;
361     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYprtI_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3964s-2FCpo0JCa1rsRqIelh-2FYY-2B647DdwvEKhp3WRYjsOcUcIbaG-2BrgAY2WPUZJhttK8LkZuuq-2F8Vhunp-2F2wkAgt1Zn2-2FwZ6SikM13n9yCCxdIL3yO6OdGy6v-2FMuen2Lzk-2BTtXvtoCzpkY8VRV6MrY-2FuCyUk7qtXk0P56EIB0mpCY9-2F3y-2BMb1A2CjU6pw-2FcAYkI-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxi35_S_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3964s-2FCpo0JCa1rsRqIelh-2FYY-2B647DdwvEKhp3WRYjsOc1MZGhHDgU5acfCSeYwFHtdwd83-2F0AtamPlNPzvPlBAN-2F-2FkvQwCg9KKSs6bYibbsRFhgLVupL0ZEmRHHNZZMmP7nl1kPu309zKQDjQ3IHgFQ8Bg5gzvheUkCDv9BClEo6CQwLUvhn2-2FPENjngYoc-2FA-3D



More information about the Swan-dev mailing list