DescriptionClamped negative index access.
Fixed error that allowed negative index for accessing
vector, matrix, and array. Now we report compile error
and clamp the index to 0.
Re-arranged code around it to handle negative index
at the one location.
BUG=crbug.com/239411
TEST=bug test case
R=aedla@chromium.org, kbr@chromium.org
Committed: https://code.google.com/p/angleproject/source/detail?r=2207
Patch Set 1 #
Total comments: 6
Patch Set 2 : clamped index to upper range #
MessagesTotal messages: 6
|