mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-19 02:41:00 +03:00
570ca4441e
Coverity had various complaints about minor issues. They are all fairly straightforward to understand without reading additional files, with the exception of the draid.c issue. vdev_draid_rand() takes a 128-bit starting seed, but we were passing a pointer to a 64-bit value, which understandably made Coverity complain. This is perhaps the only significant issue fixed in this patch, since it causes stack corruption. These are not all of the issues in the ZTS that Coverity caught, but a number of them are already fixed in other PRs. There is also a class of TOUTOC complaints that involve very minor things in the ZTS (e.g. access() before unlink()). I have yet to decide whether they are false positives (since this is not security sensitive code) or something to cleanup. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Neal Gompa <ngompa@datto.com> Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Closes #13943 |
||
---|---|---|
.. | ||
checksum | ||
file | ||
linux_dos_attributes | ||
.gitignore | ||
badsend.c | ||
btree_test.c | ||
chg_usr_exec.c | ||
cp_files.c | ||
ctime.c | ||
devname2devid.c | ||
dir_rd_update.c | ||
dosmode_readonly_write.c | ||
draid.c | ||
ereports.c | ||
get_diff.c | ||
getversion.c | ||
libzfs_input_check.c | ||
Makefile.am | ||
mkbusy.c | ||
mkfile.c | ||
mkfiles.c | ||
mktree.c | ||
mmap_exec.c | ||
mmap_libaio.c | ||
mmap_seek.c | ||
mmap_sync.c | ||
mmapwrite.c | ||
nvlist_to_lua.c | ||
readmmap.c | ||
rename_dir.c | ||
rm_lnkcnt_zero_file.c | ||
send_doall.c | ||
stride_dd.c | ||
suid_write_to_file.c | ||
threadsappend.c | ||
truncate_test.c | ||
user_ns_exec.c | ||
xattrtest.c | ||
zed_fd_spill-zedlet.c | ||
zfs_diff-socket.c |