commit | 9c170c076382096b9e767da0e3f9f37dafa76546 | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Thu Jun 25 11:46:54 2015 -0700 |
committer | Wei Jia <wjia@google.com> | Wed Jul 29 11:13:30 2015 -0700 |
tree | ac1dd4d4f861cc86bfee1f1e58063391af9cf2e1 | |
parent | 70c1f74f3d4c43b67949f3e742195d60f4677462 [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 Change-Id: Iaa7374a4734a49db257a3f102a88412fde672260