cloudius-systems / osv

OSv, a new operating system for the cloud.
osv.io
Other
4.12k stars 605 forks source link

Fix identified coverity scan defects #1209

Open wkozaczuk opened 2 years ago

wkozaczuk commented 2 years ago

I have recently run a couple of the Coverity scan reports for OSv which can be found here - please click on "View Defects" on the right.

I have also set it up to classify the defects into a number of buckets:

Obviously, the last three are all part of the kernel.

I suspect some of the reported defects are false positives (see the "Uninitialized pointer read" in fs/vfs/vfs_lookup.cc,vfs_mount.cc, and vfs_syscalls.cc) but some are probably worth fixing. There is a total of 106 high-impact issues in kernel and 54 in the zfs subtree.