diff options
author | Ryszard Grzesica <ryszard.grzesica@sonymobile.com> | 2014-01-17 11:40:16 +0100 |
---|---|---|
committer | Takeshi Aimi <takeshi.aimi@sonymobile.com> | 2014-02-20 02:01:35 +0900 |
commit | abb7b17613fff41433cda94207eb535c9fed8fba (patch) | |
tree | 1ccb9a72843f7b023cbd9b5365fc6c424b672dc7 /camera/CameraMetadata.cpp | |
parent | 80b72e6f4202ce26facbe51b8739814bca198a2c (diff) | |
download | frameworks_av-abb7b17613fff41433cda94207eb535c9fed8fba.zip frameworks_av-abb7b17613fff41433cda94207eb535c9fed8fba.tar.gz frameworks_av-abb7b17613fff41433cda94207eb535c9fed8fba.tar.bz2 |
Fix preventing from heap overwrite in capture command
There was heap usage error in case of stop of audio framework while
capturePoint was negative. Pointer to reply data was moved but
final silence write was done using original buffer size.
Now silence set is done at the beginning under the condition
that framework has stopped.
Change-Id: I7dab1e922f1813e5fbfd4a64c8b0d15d9465520c
Diffstat (limited to 'camera/CameraMetadata.cpp')
0 files changed, 0 insertions, 0 deletions