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-i386-kernel



Hi,

Please find the latest report on new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.

1 new defect(s) introduced to NetBSD-i386-kernel found with Coverity Scan.
3 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 1347189:  Null pointer dereferences  (NULL_RETURNS)
/sys/dev/raidframe/rf_netbsdkintf.c: 721 in raid_dumpblocks()


________________________________________________________________________________________________________
*** CID 1347189:  Null pointer dereferences  (NULL_RETURNS)
/sys/dev/raidframe/rf_netbsdkintf.c: 721 in raid_dumpblocks()
715     		error = EINVAL;
716     		goto out;
717     	}
718     
719     	bdev = bdevsw_lookup(raidPtr->Disks[dumpto].dev);
720     
>>>     CID 1347189:  Null pointer dereferences  (NULL_RETURNS)
>>>     Dereferencing a null pointer "bdev".
721     	error = (*bdev->d_dump)(raidPtr->Disks[dumpto].dev, 
722     				blkno, va, nblk);
723     	
724     out:
725     	raidunlock(rs);
726     		


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-i386-kernel?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