zfs/tests/zfs-tests/cmd
luozhengzheng 5df39c1e43 Fix coverity defects
1.coverity scan CID:147445 function zfs_do_send in zfs_main.c
Buffer not null terminated (BUFFER_SIZE_WARNING)

2.coverity scan CID:147443 function zfs_do_bookmark in zfs_main.c
Buffer not null terminated (BUFFER_SIZE_WARNING)

3.coverity scan CID:147660 function main in zinject.c
Passing string argv[0] of unknown size to strcpy
By the way, the leak of g_zfs is fixed.

4.coverity scan CID: 147442 function make_disks in zpool_vdev.c
Buffer not null terminated (BUFFER_SIZE_WARNING)

5.coverity scan CID: 147661 function main in dir_rd_update.c
passing string cp1 of unknown size to strcpy

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: luozhengzheng <luo.zhengzheng@zte.com.cn>
Closes #5130
2016-09-22 15:55:41 -07:00
..
chg_usr_exec Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
devname2devid Only build devname2devid when libudev headers are available 2016-03-31 14:54:47 -07:00
dir_rd_update Fix coverity defects 2016-09-22 15:55:41 -07:00
file_check Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_trunc Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_write Fixes for issues found with cppcheck tool 2016-07-27 13:31:22 -07:00
largest_file Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkbusy Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkfile Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mkfiles Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mktree OpenZFS 2605, 6980, 6902 2016-06-28 13:47:02 -07:00
mmap_exec Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
mmapwrite Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
randfree_file Fix FALLOC_FL_PUNCH_HOLE use in randfree_file.c 2016-09-17 15:20:10 -07:00
readmmap Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rename_dir Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
rm_lnkcnt_zero_file Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
threadsappend Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
xattrtest xattrtest: allow verify with -R and other improvements 2016-06-24 13:12:43 -07:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00
file_common.h Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00