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:
Manoj Rao <manojraj@codeaurora.org>
Loading
Please sign in to comment