Skip to content
Commit f8c8a4eb authored by Santhosh Behara's avatar Santhosh Behara Committed by Dongwon Kang
Browse files

mm-video-v4l2: Protect buffer lifecycle with lock

IL Client may choose to free the buffer which might
be in-use by IL component. This may lead to use-after
free situation.
Protect buffer lifecycle with a lock to ensure that
IL component operates on a buffer which exists.

Fixes bug 62452543
 Security Vulnerability - Heap use after free in libOmxVenc

CRs-Fixed: 2062772
Test: build & boot
Test: cts-tradefed run cts-dev --module CtsMediaTestCases --compatibility:module-arg
CtsMediaTestCases:include-annotation:android.platform.test.annotations.RequiresDevice

Author: Vikash Garodia <vgarodia@codeaurora.org>

Change-Id: I0fdb4051c94044e032c257febbe2ba1c7e4d6c7e
parent 31cc990c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment