Commit c344879d authored by Manoj Rao's avatar Manoj Rao Committed by Gerrit - the friendly Code Review server
Browse files

msm: hdmi-cec: bounds check cec frame size



Ensure that the frame size for the HDMI-CEC message
frame size doesn't exceed the maximum size when
reading message from userspace through sysfs interface.
This avoids potential overflow in cec send msg routine.

Change-Id: I09eb8f7a6dee64be2b504c6448b49e1da902aa47
CRs-Fixed: 520140
Signed-off-by: default avatarManoj Rao <manojraj@codeaurora.org>
parent 2ae85ffc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment