Christer Ekholm 8bdcfb5396 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 <che@chrekh.se>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3122
2015-02-24 11:39:10 -08:00
..
2012-08-27 11:47:44 -07:00
2013-01-08 10:35:35 -08:00
2012-08-27 11:47:44 -07:00
2012-08-27 11:47:44 -07:00
2014-08-01 14:28:05 -07:00
2013-09-04 15:49:00 -07:00