aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2018-11-26 11:35:07 -0500
committerMauro Carvalho Chehab <[email protected]>2018-12-05 06:34:57 -0500
commitcea8c0077d6cf3a0cea2f18a8e914af78d46b2ff (patch)
tree7a900af410e8ea9f4f9a7bd3c1d5cf91a187bd8f /tools/perf/scripts/python/bin/stackcollapse-record
parentce6ebeacbef3b1f3567ccee2721731129af35399 (diff)
media: imx274: fix stack corruption in imx274_read_reg
imx274_read_reg() takes a u8 pointer ("reg") and casts it to pass it to regmap_read(), which takes an unsigned int pointer. This results in a corrupted stack and random crashes. Fixes: 0985dd306f72 ("media: imx274: V4l2 driver for Sony imx274 CMOS sensor") Cc: [email protected] # for 4.15 and up Signed-off-by: Luca Ceresoli <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions