commit | 0aff3a8a5a001b5a07c720ffb6b651aa44b26483 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Oct 13 13:12:36 2017 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Mon Oct 16 13:48:32 2017 +0100 |
tree | 1e2c2df682f29c67071d9edeb2bc7b76c04fa093 | |
parent | e384c3bbbd23b00c6e991bf1aa8fa1deeac179d4 [diff] |
Fix wrong length passed to AAIOBE on x86/x64. When getting the length of an array from memory (optimization done by x86_memory_gen.cc), the slow path was incorrectly unconditionnally treating the array as a string array, needing to shr the length value. Test: 667-out-of-bounds. Change-Id: I274e68ecf63a70344c4f47db8431425433010283