summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorAnastasia Belova <abelova@astralinux.ru>2024-02-05 18:23:50 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-08-25 08:15:24 +0200
commitc2c982def1a3a1963ebddd41cc70ee026cb8b765 (patch)
tree0cc0097106c180d0b62dad8ea7bd1424284ea0fb /tools/perf/scripts/python/parallel-perf.py
parenta9fef294e8b1e53a7ea733576dd4788c84ec8a21 (diff)
media: coda: cast an operand of multiplication to a larger type
If the width and height are 0xffff (or close), the result of a multiplication will overflow. Cast to a larger type to avoid undefined behavior. Such values are possible in CODA7, but unlikely. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 918c66fd4126 ("[media] coda: add CODA7541 decoding support") Signed-off-by: Anastasia Belova <abelova@astralinux.ru> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions