diff options
| author | Mahesh Lanka <mlanka@codeaurora.org> | 2016-08-25 15:49:46 +0530 |
|---|---|---|
| committer | Christopher R. Palmer <crpalmer@gmail.com> | 2017-02-03 20:30:58 -0500 |
| commit | b4c003e62271373d4121cc0252e4794950c5e79e (patch) | |
| tree | 39bd5258adb24c9851132fabb390fdace4b44be4 /Android.mk | |
| parent | 6debe9b01aa69918cde2e5b0bf2436013002595b (diff) | |
| download | android_hardware_qcom_media-cm-13.0.tar.gz android_hardware_qcom_media-cm-13.0.tar.bz2 android_hardware_qcom_media-cm-13.0.zip | |
DO NOT MERGE: mm-video-v4l2: venc: Disallow changing buffer count/size on allocated portHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1replicant-6.0-0004replicant-6.0-0003replicant-6.0-0002replicant-6.0-0001cm-13.0
Count and size negotiation of port-buffers should only be allowed
when the port hasn't been allocated yet.
Letting the client change count/size on a pre-allocated port will
cause inconsistencies in the count/size of memory allocated for
headers and internal lists.
Fix resetting of buffer-base (m_inp_mem_ptr) when all buffers are freed,
for all the buffer-modes.
Bug: 29421682
Fixes: Local Privilege Escalation in MediaServer (libOmxVenc problem #10)
Change-Id: I9abead969bc3c908e6db9beb6316fd572dac25f7
(cherry picked from commit 0a9004844900da7c7e1da318f24105eb67f4f2e8)
Diffstat (limited to 'Android.mk')
0 files changed, 0 insertions, 0 deletions
