commit | b242d244fdcd5ffac5bbe281fe96a796f7fafd75 | [log] [tgz] |
---|---|---|
author | Joshua J. Drake <android-open-source@qoop.org> | Mon May 04 17:33:49 2015 -0500 |
committer | The Android Automerger <android-build@android.com> | Mon Jul 27 12:38:33 2015 -0700 |
tree | 71608f42acbf50aace4ba05ac23f1711f45192a7 | |
parent | b9bd167f956dd4846db4385a33c46adfe7b0d82b [diff] |
Prevent reading past the end of the buffer in 3GPP Metadata processed within the parse3GPPMetaData function may not be NUL terminated and thus calling setCString may read out of bounds. Ensure proper NUL termination, but take care not to interfere with other special cases (ie, albm). Bug: 20923261 Change-Id: Ie93b3038b534b4c4460571a68f4d734cff7ad324 (cherry picked from commit 5cea0155cfc41f67e91343c342f44251c03fde3a)