[ros-diffs] [cwittich] 36485: check for value > 0 before using it as array index Fix for Coverity error CID: 438