Files
mirror_zfs/cmd
Richard Yao 37edc7ea98 Refactor loop in dump_histogram()
The current loop triggers a complaint that we are using an array offset
prior to a range check from cpp/offset-use-before-range-check when we
are actually calculating maximum and minimum values. I was about to file
a false positive report with CodeQL, but after looking at how the code
is structured, I really cannot blame CodeQL for mistaking this for a
range check.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Closes #14575
2023-03-08 13:52:20 -08:00
..
2023-03-08 13:52:20 -08:00
2023-02-21 17:30:05 -08:00
2022-09-27 16:47:24 -07:00
2023-03-08 11:17:23 -08:00
2023-03-06 15:30:29 -08:00