android_kernel_sony_sdm845/drivers/gpu/drm/tilcdc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tomi Valkeinen 74da79fc0b drm/tilcdc: fix leak & null ref in panel_connector_get_modes
[ Upstream commit 3f9c1c872cc97875ddc8d63bc9fe6ee13652b933 ]

If videomode_from_timings() returns true, the mode allocated with
drm_mode_create will be leaked.

Also, the return value of drm_mode_create() is never checked, and thus
could cause NULL deref.

Fix these two issues.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429104234.18910-1-tomi.valkeinen@ti.com
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-21 11:01:57 +02:00
..
Kconfig drm/tilcdc: make fbdev support really optional 2016-07-18 09:11:38 +02:00
Makefile drm/tilcdc: Add dummy primary plane implementation 2016-08-08 23:05:00 +03:00
tilcdc_crtc.c Second attempt for 3rd drm/tilcdc pull request for v4.9. 2016-09-28 11:17:26 +10:00
tilcdc_drv.c drm/tilcdc: fix wrong error handling 2016-09-23 15:12:57 +03:00
tilcdc_drv.h drm/tilcdc: Clean up LCDC functional clock rate setting code 2016-09-07 15:54:40 +03:00
tilcdc_external.c drm/tilcdc: Choose console BPP that supports RGB 2016-09-01 22:32:23 +03:00
tilcdc_external.h drm/tilcdc: Choose console BPP that supports RGB 2016-09-01 22:32:23 +03:00
tilcdc_panel.c drm/tilcdc: fix leak & null ref in panel_connector_get_modes 2020-08-21 11:01:57 +02:00
tilcdc_panel.h
tilcdc_plane.c drm/tilcdc: Add blue-and-red-crossed devicetree property 2016-09-01 22:32:11 +03:00
tilcdc_regs.h drm/tilcdc: ensure nonatomic iowrite64 is not used 2018-03-24 11:00:24 +01:00
tilcdc_slave_compat.c drm/tilcdc: Return directly after a failed kfree_table_init() in tilcdc_convert_slave_node() 2016-09-23 13:49:52 +03:00
tilcdc_slave_compat.dts drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_slave_compat.h drm/tilcdc: Add DRM_TILCDC_SLAVE_COMPAT for ti,tilcdc,slave binding support 2015-05-27 13:13:33 +03:00
tilcdc_tfp410.c drm/tilcdc: add missing header dependencies 2016-09-22 23:50:08 +03:00
tilcdc_tfp410.h