diff options
| author | Roman Smirnov <[email protected]> | 2024-03-19 08:13:44 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2024-03-19 12:20:20 +0000 |
| commit | c2d953276b8b27459baed1277a4fdd5dd9bd4126 (patch) | |
| tree | e34231f5c097e9615e72765af90c608aa69ef363 /scripts/bpf_doc.py | |
| parent | fbcon: Increase maximum font width x height to 64 x 128 (diff) | |
| download | kernel-c2d953276b8b27459baed1277a4fdd5dd9bd4126.tar.gz kernel-c2d953276b8b27459baed1277a4fdd5dd9bd4126.zip | |
fbmon: prevent division by zero in fb_videomode_from_videomode()
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]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
