Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible future overflow in zfs_nicenum
The function zfs_nicenum that converts number to human-readable output uses a index to a string of letters. This patch limits the index to the length of the string. Signed-off-by: Christer Ekholm <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #3122
- Loading branch information