summaryrefslogtreecommitdiffstats
path: root/module/zfs/space_map.c
diff options
context:
space:
mode:
authorPaul Dagnelie <[email protected]>2020-06-08 08:58:13 -0700
committerGitHub <[email protected]>2020-06-08 08:58:13 -0700
commitb2f3709c3ec0116773c9269431dc8f9f97563028 (patch)
treec9176256d2f088f5f7bf023edaa13df1e5948eb2 /module/zfs/space_map.c
parentc9e319faae9677aa0dddfbf9973b9e8fc3feb06c (diff)
Don't erase final byte of envblock
When we copy the envblock's contents out, we currently treat it as a normal C string. However, this functionality is supposed to more closely emulate interacting with a file. As a consequence, we were incorrectly truncating the contents of the envblock by replacing the final byte of the buffer with a null character. Reviewed-by: Pavel Zakharov <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Paul Dagnelie <[email protected]> Closes #10405
Diffstat (limited to 'module/zfs/space_map.c')
0 files changed, 0 insertions, 0 deletions