Files
android_kernel_xiaomi_sm8450/drivers/media/i2c
Luca Ceresoli cea8c0077d 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: 0985dd306f ("media: imx274: V4l2 driver for Sony imx274 CMOS sensor")

Cc: stable@vger.kernel.org # for 4.15 and up
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-05 06:34:57 -05:00
..
2018-09-11 13:32:17 -04:00
2018-09-11 13:32:17 -04:00
2018-09-11 13:32:17 -04:00
2018-09-17 13:16:19 -04:00
2018-03-23 07:48:08 -04:00