android_kernel_motorola_sm6375/drivers/video
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Roman Smirnov 72d091b751 fbmon: prevent division by zero in fb_videomode_from_videomode()
[ Upstream commit c2d953276b8b27459baed1277a4fdd5dd9bd4126 ]

The expression htotal * vtotal can have a zero value on
overflow. It is necessary to prevent division by zero like in
fb_var_to_videomode().

Found by Linux Verification Center (linuxtesting.org) with Svace.

Signed-off-by: Roman Smirnov <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-04-13 12:51:39 +02:00
..
backlight backlight: lp8788: Fully initialize backlight_properties during probe 2024-03-26 18:22:23 -04:00
console
fbdev fbmon: prevent division by zero in fb_videomode_from_videomode() 2024-04-13 12:51:39 +02:00
logo
display_timing.c
hdmi.c
Kconfig
Makefile
of_display_timing.c
of_videomode.c
vgastate.c
videomode.c