android_hardware_qcom_media/msm8996
Ray Essick ea11bb2630 mm-video-v4l2: Protect buffer access and increase input buffer size
Protect buffer access for below scenarios:

*Increase the scope of buf_lock in free_buffer to avoid access
 of freed buffer for both input and output buffers. Also, add check
 before output buffer access.

*Disallow allocate buffer mode after client has called use buffer.

Allocate additional 512 bytes of memory for input buffers on top of
allocation size as per hardware requirement.

Bug: 64340487
Test: ran POC on sailfish/nyc-mr1-dev
Change-Id: Ic13b511b2d1c46e0b158880c41c9a02e2fefd113
Merged-In: Id699404d6c276c8702826d79b3a6ba9755b3439f
(cherry picked from commit 660db9e970)
2018-08-03 19:09:06 +00:00
..
libc2dcolorconvert libc2dcolorconvert: Fix address in unmap call 2017-08-16 12:45:58 -07:00
libstagefrighthw fix circular dependency libnativewindow <-> libui 2017-05-03 19:03:10 -07:00
mm-core mm-video-v4l2: venc: Advertise constrained profiles for AVC encoder 2017-09-06 18:27:01 -07:00
mm-video-v4l2 mm-video-v4l2: Protect buffer access and increase input buffer size 2018-08-03 19:09:06 +00:00
videopp Initial import of msm8996 media HAL 2016-03-07 09:14:01 -08:00
NOTICE Initial import of msm8996 media HAL 2016-03-07 09:14:01 -08:00