mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
94c15b5e67
Make sure __s5k6aa_get_crop_rect() always returns valid pointer, as it is assumed at the callers. crop->which is already validated when subdev set_crop and get_crop callbacks are called from within the v4l2-core. If it ever happens the crop operations are called directly for some reason in kernel space, with incorrect crop->which argument, just log it with WARN and return reference to the TRY crop. Reported-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
cx25840 | ||
m5mols | ||
smiapp | ||
soc_camera | ||
ad9389b.c | ||
adp1653.c | ||
adv7170.c | ||
adv7175.c | ||
adv7180.c | ||
adv7183_regs.h | ||
adv7183.c | ||
adv7343_regs.h | ||
adv7343.c | ||
adv7393_regs.h | ||
adv7393.c | ||
adv7604.c | ||
ak881x.c | ||
aptina-pll.c | ||
aptina-pll.h | ||
as3645a.c | ||
bt819.c | ||
bt856.c | ||
bt866.c | ||
btcx-risc.c | ||
btcx-risc.h | ||
cs53l32a.c | ||
cs5345.c | ||
cx2341x.c | ||
ir-kbd-i2c.c | ||
Kconfig | ||
ks0127.c | ||
ks0127.h | ||
m52790.c | ||
Makefile | ||
msp3400-driver.c | ||
msp3400-driver.h | ||
msp3400-kthreads.c | ||
mt9m032.c | ||
mt9p031.c | ||
mt9t001.c | ||
mt9v011.c | ||
mt9v032.c | ||
noon010pc30.c | ||
ov7670.c | ||
s5k4ecgx.c | ||
s5k6aa.c | ||
saa711x_regs.h | ||
saa717x.c | ||
saa6588.c | ||
saa7110.c | ||
saa7115.c | ||
saa7127.c | ||
saa7185.c | ||
saa7191.c | ||
saa7191.h | ||
smiapp-pll.c | ||
smiapp-pll.h | ||
sr030pc30.c | ||
tcm825x.c | ||
tcm825x.h | ||
tda7432.c | ||
tda9840.c | ||
tea6415c.c | ||
tea6415c.h | ||
tea6420.c | ||
tea6420.h | ||
ths7303.c | ||
tlv320aic23b.c | ||
tvaudio.c | ||
tveeprom.c | ||
tvp514x_regs.h | ||
tvp514x.c | ||
tvp5150_reg.h | ||
tvp5150.c | ||
tvp7002_reg.h | ||
tvp7002.c | ||
upd64031a.c | ||
upd64083.c | ||
vp27smpx.c | ||
vpx3220.c | ||
vs6624_regs.h | ||
vs6624.c | ||
wm8739.c | ||
wm8775.c |