Ticket #6232 (cppOut of bounds array access)

--HG--
extra : rebase_source : 79ed3533a12a486ea3ed3f09f9bc55b1a4771161