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

scan-admin at coverity.com scan-admin at coverity.com
Fri Mar 17 13:51:26 EET 2023


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 1536748:  Null pointer dereferences  (FORWARD_NULL)
/programs/pluto/log.c: 656 in attach_whack()


________________________________________________________________________________________________________
*** CID 1536748:  Null pointer dereferences  (FORWARD_NULL)
/programs/pluto/log.c: 656 in attach_whack()
650     			return;
651     		}
652     	}
653     	/* attach to spare slot */
654     	FOR_EACH_THING(fdp, &dst->global_whackfd, &dst->object_whackfd) {
655     		if (fdp == NULL) {
>>>     CID 1536748:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "fdp".
656     			*fdp = fd_addref(src_fd);
657     			return;
658     		}
659     	}
660     	/* replace global */
661     	fd_delref(&dst->global_whackfd);
662     	dst->global_whackfd = fd_addref(src_fd);


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq8aBKViEpsZ9KPFMeJd7kKMDjyzu82COVFw1h1aYx-2FtFrefiPxkohPqZgI7DsTRPR5L954NuJuE0J6c4ee-2B5kYEx51_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BFnTTvabcNmMfpM9dvugZK6rT2SvGvCiFT-2FWGtsBCb-2Bk7n30MWPby-2F5atVwLl7dKb-2FwrSvZPbZ9IXIPEUNOXhARCzalwfoLOW9GShelv-2FqO-2FcjSPS6VugKebwi77OhMvq3jwMrqPC44NDbzX73NCj3HnVTams-2B-2BepBcN29uOGIbLKIhfi-2BZJTZzFcBgRMdUis-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-2B13a9hJ7YOPZRdlHcEQfoMvDvjqsfrRNzFQ8lscduvXP5RLkPig71dIKudxiz1O-_Cir5ZFqEb-2Fpy-2FZDdTxjwNXxDWd37ZfwlkdBT1REyQ3-2BFnTTvabcNmMfpM9dvugZK6rT2SvGvCiFT-2FWGtsBCb-2Bs85ffLkJKyVIgfVzmO5elmeFBPvLbyQc4jHd4PAFKOUNFVUD1EMZknNhcs0yhSftbZE-2BBXyaKjtk151wEyeKDpbtgm6M-2FM72ege6v08YuEGV8TWI4Mae-2Be1arEWalEePsHN7AALiQ-2FhYBKFFngJ-2FA4-3D



More information about the Swan-dev mailing list