mirror_zfs/cmd/zdb
Mark Johnston 4184b78be1 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-27 09:19:37 -07:00
..
.gitignore
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zdb_il.c
zdb.c zdb: Fix handling of nul termination in symlink targets 2022-05-27 09:19:37 -07:00
zdb.h