aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDaniil Dulov <[email protected]>2023-03-24 06:38:32 -0700
committerHans Verkuil <[email protected]>2023-07-19 12:57:47 +0200
commita1db7b2c5533fc67e2681eb5efc921a67bc7d5b8 (patch)
tree329903cf64e11c64885f5750cd462c1f1a931d95 /tools/perf/scripts/python/flamegraph.py
parent7d9326f10cdd9028b4460ccc4006d4d138996b6d (diff)
media: dib7000p: Fix potential division by zero
Variable loopdiv can be assigned 0, then it is used as a denominator, without checking it for 0. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 713d54a8bd81 ("[media] DiB7090: add support for the dib7090 based") Signed-off-by: Daniil Dulov <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [hverkuil: (bw != NULL) -> bw]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions