hdmitx: fix KASAN Bug in hdmitx_edid_parse [1/1]
authorKaifu Hu <kaifu.hu@amlogic.com>
Tue, 18 Sep 2018 06:04:41 +0000 (14:04 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Wed, 19 Sep 2018 07:27:21 +0000 (00:27 -0700)
commitfe9bb598453a5310326b8afa326189a6ed48876d
tree0e56fd3376b231340631c8db0eaf8e251516a0f4
parent09b8979dfd29e35ee0d5e68e585647bccde1ff96
hdmitx: fix KASAN Bug in hdmitx_edid_parse [1/1]

PD#173547: hdmitx: fix KASAN Bug in hdmitx_edid_parse
BUG: KASAN: stack-out-of-bounds in hdmitx_edid_parse+0x22c/0x2c40
Read of size 1 at addr ffffffc047927a4f by task power@1.0-servi/2947

Change-Id: Ia1dda5aa80a9fc33a0e81eb9af51ea42a3731c66
Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_edid.c
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c