diff options
| author | Wei Chen <[email protected]> | 2023-03-15 08:33:47 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-03-16 15:18:16 +0000 |
| commit | d823685486a3446d061fed7c7d2f80af984f119a (patch) | |
| tree | 8cb44ddb2b1532c2a9c40d4b32929a83b383a26e /tools/perf/scripts/python/flamegraph.py | |
| parent | fbdev: nvidia: Fix potential divide by zero (diff) | |
| download | kernel-d823685486a3446d061fed7c7d2f80af984f119a.tar.gz kernel-d823685486a3446d061fed7c7d2f80af984f119a.zip | |
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 <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
