HomePhabricator

Fixed possible out of bound array access.

Authored by AndreyChurbanov on Apr 11 2019, 8:03 AM.

Description

Fixed possible out of bound array access.

The check of index value moved to before the write to the array.

Differential Revision: https://reviews.llvm.org/D60471

llvm-svn: 358181

Details