commit | e1e791727f709c7ab54d47b9cd46d4326a02e913 | [log] [tgz] |
---|---|---|
author | Roger1 Jonsson <roger1.jonsson@sonymobile.com> | Wed Sep 21 09:06:34 2016 +0200 |
committer | John Eckerdal <john.eckerdal@sonymobile.com> | Thu Sep 29 10:21:51 2016 +0200 |
tree | aea89c635287e09759bb9fd89f0b62a5ab78d04c | |
parent | 84404f068fdeec910664ec935ccd94df1e8f3ca6 [diff] |
Prevent crash for malformed ID3 COMM frame When trying to retrieve the full text string from a malformed ID3 COMM frame, there is a risk of getting a negative index value if the size of the frame is too small. Adding a size check to avoid negative indexes. Bug: 31815576 Test: Playback content with malformed ID3 COMM frame Change-Id: I21253e104cd76a65f5ab5d03f58490e0f4a4cb65