android_kernel_xiaomi_sm8350/drivers/media/video/pwc
Martin Fuzzey 53f68607ca V4L/DVB: Video : pwc : Fix regression in pwc_set_shutter_speed caused by bad constant => sizeof conversion.
Regression was caused by my commit 6b35ca0d3d
which determined message size using sizeof rather than hardcoded constants.

Unfortunately pwc_set_shutter_speed reuses a 2 byte buffer for a one byte
message too so the sizeof was bogus in this case.

All other uses of sizeof checked and are ok.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@kernel.org
Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-19 03:19:02 -02:00
..
Kconfig
Makefile
philips.txt
pwc-ctrl.c V4L/DVB: Video : pwc : Fix regression in pwc_set_shutter_speed caused by bad constant => sizeof conversion. 2010-02-19 03:19:02 -02:00
pwc-dec1.c
pwc-dec1.h
pwc-dec23.c
pwc-dec23.h
pwc-if.c V4L/DVB (13593): PWC: parameter trace is only available in debug 2009-12-16 00:18:30 -02:00
pwc-ioctl.h
pwc-kiara.c
pwc-kiara.h
pwc-misc.c
pwc-nala.h
pwc-timon.c
pwc-timon.h
pwc-uncompress.c
pwc-uncompress.h
pwc-v4l.c
pwc.h V4L/DVB (12489): pwc - fix few use-after-free and memory leaks 2009-09-12 12:19:13 -03:00