aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-06-27 04:05:41 -0400
committerMauro Carvalho Chehab <[email protected]>2019-07-23 08:49:17 -0400
commitb98fd3cb6db8dbba6377c41a66c6b673f9d93da3 (patch)
treecb8b308efdfaf21d6e2ba562d1487692ad53efa2 /tools/perf/scripts/python/bin/stackcollapse-report
parentb61789f53d49db8ca1f6b8fed411b317b4e8f044 (diff)
media: vivid: fix potential integer overflow on left shift
There is a potential integer overflow when int 2 is left shifted as this is evaluated using 32 bit arithmetic but is being used in a context that expects an expression of type s64. Fix this by generating a mask using GENMASK to avoid a 32 bit overflow. Addresses-Coverity: ("Unintentional integer overflow") Fixes: 8a99e9faa131 ("media: vivid: add HDMI (dis)connect RX emulation") Fixes: 79a792dafac6 ("media: vivid: add HDMI (dis)connect TX emulation") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions