Android 7.1.2 release 38
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXXL9jgAKCRDorT+BmrEO
eKvlAJ43zs4df0YF4mQZBCbvX8wy1PKFcACfYo+9R5TD6vfXBPyyu4DTT4copFk=
=mAKc
-----END PGP SIGNATURE-----
[DO NOT MERGE] AMR WB encoder: prevent OOB write in ACELP_4t64_fx

In ACELP_4t64_fx, when iterating over ind array, check index against
  array size to prevent OOB write, log an error if such an access
  was about to happen.

Bug 132647222
Test: atest EncoderTest#testAMRWBEncoders
Merged-in: I33f476d94baec2feffc7bcccd0ad0481b8452518

Change-Id: I814a05217f20ea3b941deddb70edb31cd342de6b
(cherry picked from commit 04e48ed870c1c4163948bceee034d750ae60b5d4)
3 files changed