android_hardware_qcom_media/msm8998/mm-video-v4l2
Ray Essick 34572dcbf4 mm-video-v4l2: Squash below changes
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.

mm-video-v4l2: correct the buffer error flag setting

The buffer error flag setting is corrected in free_buffer()
call

Bug: 64340487
Test: poc from bug
Change-Id: I8a28d86135f2fc39a45a6a07355845327dec2dfa
Merged-In: I32d6cb7f61b873edd567881d1bf3e620cd78e715
(cherry picked from commit 808b94b164)
2018-08-03 19:08:56 +00:00
..
vidc mm-video-v4l2: Squash below changes 2018-08-03 19:08:56 +00:00
Android.mk msm8998: rename msmcobalt to msm8998 2016-12-15 12:22:15 -08:00
Makefile.am msm8998: rename msmcobalt to msm8998 2016-12-15 12:22:15 -08:00