mirror_zfs/cmd
GeLiXin 547c593661 Fix coverity defects: CID 147587
CID 147587: Out-of-bounds read

Future changes may cause an array overrun of 4096 bytes at byte
offset 4096 by dereferencing pointer dstp.  Adding this additional
check ensures correctness.

Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: GeLiXin <ge.lixin@zte.com.cn>
Closes #5297
2016-12-21 11:27:24 -08:00
..
arc_summary Correct style in arcstat and arc_summary 2016-10-06 10:04:54 -07:00
arcstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
dbufstat Correct exit code for dbufstat -v and arcstat -v 2016-10-06 10:52:21 -07:00
fsck_zfs Add /sbin/fsck.zfs helper 2013-01-09 16:54:58 -08:00
mount_zfs Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
raidz_test Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
vdev_id Add extra keyword 'slot' to vdev_id.conf 2015-08-30 10:03:56 -07:00
zdb Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zed Fix coverity defects: CID 147587 2016-12-21 11:27:24 -08:00
zfs Fix coverity defects: CID 147534 2016-12-16 09:11:17 -08:00
zhack Fix zhack argument processing 2016-08-31 14:32:46 -07:00
zinject Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zpios Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zpool Fix coverity defects: CID 155008 2016-12-19 10:26:15 -08:00
zstreamdump zstreamdump needs to initialize fletcher 4 support 2016-11-29 14:47:05 -07:00
ztest Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zvol_id OpenZFS 6314 - buffer overflow in dsl_dataset_name 2016-06-28 13:47:03 -07:00
Makefile.am SIMD implementation of vdev_raidz generate and reconstruct routines 2016-06-21 09:27:26 -07:00