Android 7.1.1 Release 59 (5650809)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXUh5UwAKCRDorT+BmrEO
eHmFAJ4nIB1l46RKUfatByIUb4m/TsX/dwCgiT6sQ8roYXaZEtmtlhQ5vKiuGSo=
=YWjV
-----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