zfs/cmd
Mark Johnston 03df6bad94
zdb: Fix handling of nul termination in symlink targets
The SA attribute containing the symlink target does not include a nul
terminator, so when printing the target zdb would sometimes include
garbage at the end of the string.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Mark Johnston <markj@FreeBSD.org>
Closes #13482
2022-05-20 10:32:49 -07:00
..
raidz_test autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zdb zdb: Fix handling of nul termination in symlink targets 2022-05-20 10:32:49 -07:00
zed Remove final K&R definitions 2022-05-18 12:10:47 -07:00
zfs libzfs: return (allocated) strings instead of filling buffers 2022-05-18 12:52:10 -07:00
zinject autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zpool libzfs: return (allocated) strings instead of filling buffers 2022-05-18 12:52:10 -07:00
zpool_influxdb autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zstream autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arc_summary cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arcstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
dbufstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
mount_zfs.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zfs_ids_to_path.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zgenhostid.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zhack.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
ztest.c ztest: O_CLOEXEC ztest_fd_rand 2022-05-11 10:33:12 -07:00
zvol_wait cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00