iowatcher: Add bounds checking in find_step

Check the value of cur_mini_step is sane before using it as an index to
mini_step array.

Signed-off-by: Andrew Price <anprice@redhat.com>
1 file changed
tree: 7b9ab6f64ccae5048f7d8a0ccf5dc4fd7aa9f144
  1. iowatcher/