diff options
| author | Luca Ceresoli <[email protected]> | 2018-11-26 11:35:07 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-12-05 06:34:57 -0500 |
| commit | cea8c0077d6cf3a0cea2f18a8e914af78d46b2ff (patch) | |
| tree | 7a900af410e8ea9f4f9a7bd3c1d5cf91a187bd8f /tools/perf/scripts/python/bin | |
| parent | ce6ebeacbef3b1f3567ccee2721731129af35399 (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')
0 files changed, 0 insertions, 0 deletions