Coverity-updates archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New Defects reported by Coverity Scan for NetBSD-amd64-user



Hi,
Please find the latest report on new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
112 new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
132 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 20 of 112 defect(s)
** CID 979477: Uninitialized variables (UNINIT)
/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_label.c: 628 in vdev_label_init()
________________________________________________________________________________________________________
*** CID 979477: Uninitialized variables (UNINIT)
/external/cddl/osnet/dist/uts/common/fs/zfs/vdev_label.c: 628 in vdev_label_init()
622 		if (reason == VDEV_LABEL_SPARE)
623 			return (0);
624 		ASSERT(reason == VDEV_LABEL_REPLACE ||
625 		 reason == VDEV_LABEL_SPLIT);
626 	}
627 
>>> CID 979477: Uninitialized variables (UNINIT)
>>> Using uninitialized value "l2cache_guid".
628 	if (reason != VDEV_LABEL_REMOVE && reason != VDEV_LABEL_SPARE &&
629 	 l2cache_guid != 0ULL) {
630 		uint64_t guid_delta = l2cache_guid - vd->vdev_guid;
631 
632 		vd->vdev_guid += guid_delta;
633 
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/1449?tab=overview
To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782 .


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /