diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-11-29 07:26:28 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-12-14 01:05:32 +0300 |
commit | 9398332f23fab10c5ec57c168b44e72997d6318e (patch) | |
tree | 1e763a5a15a81f3e5fd24339371bab3a495d9da1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 080b2e7b5e9ad23343e4b11f0751e4c724a78958 (diff) | |
download | linux-9398332f23fab10c5ec57c168b44e72997d6318e.tar.xz |
drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
drm_mode_vrefresh() is trying to avoid divide by zero
by checking whether htotal or vtotal are zero. But we may
still end up with a div-by-zero of vtotal*htotal*...
Cc: stable@vger.kernel.org
Reported-by: syzbot+622bba18029bcde672e1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=622bba18029bcde672e1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241129042629.18280-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions