Fix off-by-one issue in slurm_option_get_next_set().
Using an index value equal to the number of elements puts you one past the end of the array, modify conditional to >= instead. CID 197759.
Please register or sign in to comment
Using an index value equal to the number of elements puts you one past the end of the array, modify conditional to >= instead. CID 197759.