diff options
author | 2024-11-29 06:26:28 +0200 | |
---|---|---|
committer | 2024-12-14 00:05:32 +0200 | |
commit | 9398332f23fab10c5ec57c168b44e72997d6318e (patch) | |
tree | 1e763a5a15a81f3e5fd24339371bab3a495d9da1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/display: use ERR_PTR on DP tunnel manager creation fail (diff) | |
download | wireguard-linux-9398332f23fab10c5ec57c168b44e72997d6318e.tar.xz wireguard-linux-9398332f23fab10c5ec57c168b44e72997d6318e.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions