Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8815fc97 authored by Hariram Purushothaman's avatar Hariram Purushothaman Committed by Stephen Boyd
Browse files

msm: camera: make sure num_buf is not out of bound



V4L2 only allow 32 buffers. Check the num_buf to make sure that
user space passed value is not out of bound.

Change-Id: I662ec1eb998ed8bfb2a7f188e645410aa78c83b0
Signed-off-by: default avatarHariram Purushothaman <hpurus@codeaurora.org>
parent abe26389
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment