Commit 0aff3a8a authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

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
parent e384c3bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment