zfs/cmd/zed
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
..
agents Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed.d Add -c to zpool iostat & status to run command 2016-11-29 14:45:38 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am Add a statechange notify zedlet 2016-11-10 13:52:59 -08:00
zed.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_conf.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed_conf.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_disk_event.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed_disk_event.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zed_event.c Fix coverity defects: CID 147587 2016-12-21 11:27:24 -08:00
zed_event.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_exec.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed_exec.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_file.c Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_file.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_log.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed_log.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_strings.c Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00
zed_strings.h Use cstyle -cpP in `make cstyle` check 2016-12-12 10:46:26 -08:00