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
..
2014-08-28 07:59:43 -07:00
2013-09-04 16:01:24 -07:00
2014-08-28 07:59:43 -07:00
2014-07-29 10:55:29 -07:00
2013-09-04 16:01:24 -07:00
2013-12-18 16:46:35 -08:00
2013-09-04 16:01:24 -07:00
2014-07-29 10:55:29 -07:00
2014-08-28 07:59:43 -07:00
2014-08-28 07:59:43 -07:00