commit | 7172d9a37a9b20e11e2ccc681fe0aa2fe8f4d8a4 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Oct 24 17:39:19 2017 -0700 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Nov 29 18:06:17 2017 +0000 |
tree | 726c22775432ec516d0aafb34533746f439acbd8 | |
parent | 5874d9e7959d3dbcdd7b3a5d256a74dc4fc17f2b [diff] |
DO NOT MERGE Prevent out of bound memory access in GetInvInt In GetInvInt(int) function, malicious content can access memory outside of the invCount array. Always bound access to valid indices. Test: see bug for malicious content, decoded with "stagefright -s -a" Bug: 65025048 Change-Id: I92d4a14519f45d5a329d7f69f21f2aef0a8c6daa (cherry picked from commit 9fb4261c43a2d15f3b77a7e56470ed6784f83d04)