Safe vector access in rmt.