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.
60 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 1470137:  Resource leaks  (RESOURCE_LEAK)
/programs/pluto/ipsec_doi.c: 313 in ipsecdoi_replace()


________________________________________________________________________________________________________
*** CID 1470137:  Resource leaks  (RESOURCE_LEAK)
/programs/pluto/ipsec_doi.c: 313 in ipsecdoi_replace()
307                     policy = (c->policy & ~POLICY_IPSEC_MASK &
308                                     ~policy_del) | policy_add;
309     
310                     initiator = pick_initiator(c, policy);
311                     passert(!HAS_IPSEC_POLICY(policy));
312                     if (initiator != NULL) {
>>>     CID 1470137:  Resource leaks  (RESOURCE_LEAK)
>>>     Failing to save or close handle opened by "dup(st->st_whack_sock)" 
>>> leaks it.
313                             (void) initiator(dup_any(st->st_whack_sock),
314                                     st->st_connection, st, policy, try, 
st->st_import
315     #ifdef HAVE_LABELED_IPSEC
316                                     , st->sec_ctx
317     #endif
318                                     );


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRa-2F6FIQzoHE-2FeGfLjPxAHnMmI2-2BcDlBXS8eK3EDO-2F5Fjl6z3ueBPZWbG1BXBakNu80-3D_4HMcbsf14xheNUejmIGHntUcwhwkdYITNaUIUw0xLaqz0N8SaUULk05XZRHaJR5f4bhmTSF4djLcxwhhxI1cocKBXliSVDUUGAmdHiZpSUANxL3-2BGJViajaAekqgabDudscTDCIYE8y7iM98QSdn3KoVUXdlfokQ5p0msl9-2BygcK-2B5VZPQ-2FjomrScfQmv-2BSuj2Kqv1UthUNpPDvPcxUlrA-3D-3D

  To manage Coverity Scan email notifications for "ant...@phenome.org", click 
https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4T11LJsTCGAu8UQysrZAC89q-2FP-2B3fe1J15ziye5UyoPhoOtByWqcc6ADp6Tx8rz1FuEBlJrervxOcvY4aXgJd53T3KDIOTHFcOCaGp5NkyaQ-3D_4HMcbsf14xheNUejmIGHntUcwhwkdYITNaUIUw0xLaqz0N8SaUULk05XZRHaJR5feO8VlTIYOkX8d29cjB3KQX9etyqOYxzJJEyAFBy0860rZHmjaqkcFmPmSti474O4Gftkll9kwHQ7Z-2FYOCkTJTTg4MWXZlK5hJfTjRjlxHK3IS7KcwEG2xwebthSeqKQHr-2Bcd2-2FwZX9Cw52g0QHi-2BtQ-3D-3D

_______________________________________________
Swan-dev mailing list
Swan-dev@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to