]> granicus.if.org Git - zfs/commit
Fix coverity defects: CID 147443, 147656, 147655, 147441, 147653
authorBearBabyLiu <liu.huang@zte.com.cn>
Thu, 29 Sep 2016 20:33:09 +0000 (04:33 +0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 29 Sep 2016 20:33:09 +0000 (13:33 -0700)
commit0b78aeae927833de580e140375a15ea5ea9d924a
tree1781702621f0857b1c0586f5f825642609c8f5f0
parente8ac4557af67a46a2cb90bd7db4d426c0b358d51
Fix coverity defects: CID 147443, 147656, 147655, 147441, 147653

coverity scan CID:147443, Type: Buffer not null terminated
coverity scan CID:147656, Type: Copy into fixed size buffer
coverity scan CID:147655, Type: Copy into fixed size buffer
coverity scan CID:147441, Type: Buffer not null terminated
coverity scan CID:147653, Type: Copy into fixed size buffer

Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: liuhuang <liu.huang@zte.com.cn>
Closes #5165
cmd/zfs/zfs_main.c
cmd/zinject/zinject.c
lib/libzfs/libzfs_changelist.c
lib/libzfs/libzfs_diff.c
lib/libzfs/libzfs_util.c