commit | 53cb6c3b2cdf84d1a51582fcbb6714d7a2d129d8 | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Thu Jun 25 11:46:54 2015 -0700 |
committer | The Android Automerger <android-build@android.com> | Tue Sep 01 14:14:36 2015 -0700 |
tree | 3241604ad3e95b85b766853fd4ffd6e8ee771bdd | |
parent | 4a7e92a65737ed0e5c40fee12d293a3c35fc3ed4 [diff] |
libstagefright: Fix crash in convertMetaDataToMessage - The ABuffer used for the Message has a preset value of 1024, if flattening the meta data exceeds this value, a check fails hence the crash. - This change creates a new ABuffer if the buffer size would exceed the buffer capacity. Bug: 22771132 CRs-Fixed: 857850 (cherry picked from commit 9c170c076382096b9e767da0e3f9f37dafa76546) Change-Id: I056ade2f95bc8d82dfe092de7ecddba588cc5b72