zfs/cmd/zed
Richard Yao 4351d18fb0 ZED: Fix uninitialized value reads
Coverity complained about a couple of uninitialized value reads in ZED.

 * zfs_deliver_dle() can pass an uninitialized string to zed_log_msg()
 * An uninitialized sev.sigev_signo is passed to timer_create()

The former would log garbage while the latter is not a real issue, but
we might as well suppress it by initializing the field to 0 for
consistency's sake.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14047
2022-12-01 12:39:41 -08:00
..
agents ZED: Fix uninitialized value reads 2022-12-01 12:39:41 -08:00
zed.d zed: support subject as header in zed_notify_email() 2022-05-27 09:19:37 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am libspl: implement atomics in terms of atomics 2021-06-21 21:48:31 -07:00
zed.c Upstream: Add snapshot and zvol events 2022-02-10 11:04:06 -08:00
zed.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_conf.c Upstream: Add snapshot and zvol events 2022-02-10 11:04:06 -08:00
zed_conf.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_disk_event.c zed: Fix config_sync autoexpand flood 2022-09-14 09:57:44 -07:00
zed_disk_event.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zed_event.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_event.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_exec.c Upstream: Add snapshot and zvol events 2022-02-10 11:04:06 -08:00
zed_exec.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_file.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_file.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_log.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_log.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_strings.c Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00
zed_strings.h Replace ZoL with OpenZFS where applicable 2021-05-10 12:16:46 -07:00