linux/drivers/gpu/drm/bridge
Maciej Purski 9378cecb1c drm/bridge/sii8620: fix potential buffer overflow
Buffer overflow error should not occur, as mode_fixup() callback
filters pixel clock value and it should never exceed 600000. However,
current implementation is not obviously safe and relies on
implementation of mode_fixup().

Make 'i' variable never reach unsafe value in order to avoid buffer
overflow error.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: bf1722ca ("drm/bridge/sii8620: rewrite hdmi start sequence")
Signed-off-by: Maciej Purski <m.purski@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1511341718-6974-1-git-send-email-m.purski@samsung.com
2018-06-13 16:26:57 +02:00
..
adv7511 drm/bridge: adv7511/33: Fix adv7511_cec_init() failure handling 2017-11-30 10:37:11 +05:30
analogix drm/bridge: analogix_dp: Only wait for panel ACK on PSR entry 2018-03-14 12:24:50 +01:00
synopsys drm/bridge/synopsys: dw-hdmi: fix dw_hdmi_setup_rx_sense 2018-05-30 13:42:39 -04:00
Kconfig drm/bridge/sii8620: add Kconfig dependency on extcon 2018-05-07 10:19:12 -04:00
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
analogix-anx78xx.c drm/bridge: analogix-anx78xx: Remove duplicate NULL check 2018-01-18 16:24:29 +02:00
analogix-anx78xx.h drm/bridge: Add Analogix anx78xx support 2016-05-12 11:32:14 +02:00
dumb-vga-dac.c drm/bridge: vga-dac: Fix edid memory leak 2018-05-02 15:09:21 -04:00
lvds-encoder.c drm/bridge: Fix lvds-encoder since the panel_bridge rework. 2017-11-30 11:03:45 +05:30
megachips-stdpxxxx-ge-b850v3-fw.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
nxp-ptn3460.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
panel.c drm/bridge: make drm_panel_bridge_remove more robust 2017-10-10 11:32:35 +02:00
parade-ps8622.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sii902x.c drm/bridge: sii902x: Retry status read after DDI I2C 2018-03-07 22:48:19 +01:00
sii9234.c drm/bridge: add Silicon Image SiI9234 driver 2017-10-06 14:28:22 +02:00
sil-sii8620.c drm/bridge/sii8620: fix potential buffer overflow 2018-06-13 16:26:57 +02:00
sil-sii8620.h drm/bridge/sii8620: add HSIC initialization code 2017-02-02 15:15:30 +05:30
tc358767.c Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
ti-tfp410.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00