diff options
author | Ray Essick <essick@google.com> | 2016-08-16 14:24:43 -0700 |
---|---|---|
committer | gitbuildkicker <android-build@google.com> | 2016-08-26 16:20:40 -0700 |
commit | dda9d703d7dd2129ff6242fae84ca156caa38632 (patch) | |
tree | adcda6af2974360d66a3ebdcbb5ffa4dd93d84bc /media/utils | |
parent | b569311fe413fef4f35114f00485340cc6e322ee (diff) | |
download | frameworks_av-dda9d703d7dd2129ff6242fae84ca156caa38632.zip frameworks_av-dda9d703d7dd2129ff6242fae84ca156caa38632.tar.gz frameworks_av-dda9d703d7dd2129ff6242fae84ca156caa38632.tar.bz2 |
better validation lengths of strings in ID3 tags
Validate lengths on strings in ID3 tags, particularly around 0.
Also added code to handle cases when we can't get memory for
copies of strings we want to extract from these tags.
Affects L/M/N/master, same patch for all of them.
Bug: 30744884
Change-Id: I2675a817a39f0927ec1f7e9f9c09f2e61020311e
Test: play mp3 file which caused a <0 length.
(cherry picked from commit d23c01546c4f82840a01a380def76ab6cae5d43f)
Diffstat (limited to 'media/utils')
0 files changed, 0 insertions, 0 deletions