linux/drivers/video/fbdev/intelfb
Wei Chen d823685486 fbdev: intelfb: Fix potential divide by zero
Variable var->pixclock is controlled by user and can be assigned
to zero. Without proper check, divide by zero would occur in
intelfbhw_validate_mode and intelfbhw_mode_to_hw.

Error out if var->pixclock is zero.

Signed-off-by: Wei Chen <harperchen1110@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
2023-03-16 16:18:16 +01:00
..
intelfb_i2c.c
intelfb.h video: fbdev: intelfb: use const pointer for fb_ops 2019-12-05 10:57:48 +02:00
intelfbdrv.c fbdev: intelfb: Fix potential divide by zero 2023-03-16 16:18:16 +01:00
intelfbhw.c video: fbdev: intelfb: Use aperture size from pci_resource_len 2022-06-20 14:33:05 +02:00
intelfbhw.h
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00