aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorWei Chen <[email protected]>2023-03-15 07:18:31 +0000
committerHelge Deller <[email protected]>2023-03-16 15:18:16 +0000
commit92e2a00f2987483e1f9253625828622edd442e61 (patch)
tree6971a1c426ed3bb0ed763873a7fe2c6df0274dc6 /tools/perf/scripts/python/flamegraph.py
parentfbdev: stifb: Provide valid pixelclock and add fb_check_var() checks (diff)
downloadkernel-92e2a00f2987483e1f9253625828622edd442e61.tar.gz
kernel-92e2a00f2987483e1f9253625828622edd442e61.zip
fbdev: nvidia: Fix potential divide by zero
variable var->pixclock can be set by user. In case it equals to zero, divide by zero would occur in nvidiafb_set_par. Similar crashes have happened in other fbdev drivers. There is no check and modification on var->pixclock along the call chain to nvidia_check_var and nvidiafb_set_par. We believe it could also be triggered in driver nvidia from user site. 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