Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 openzfs#13482
- Loading branch information