linux/drivers/media/platform/sti
Gustavo A. R. Silva baed3c4bc4 media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
_channel_ is being dereferenced before it is null checked, hence there is a
potential null pointer dereference. Fix this by moving the pointer dereference
after _channel_ has been null checked.

This issue was detected with the help of Coccinelle.

Fixes: c5f5d0f997 ("[media] c8sectpfe: STiH407/10 Linux DVB demux support")

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-13 08:01:01 -05:00
..
bdisp media: bdisp: remove redundant assignment to pix 2017-10-31 07:27:58 -04:00
c8sectpfe media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt 2017-12-13 08:01:01 -05:00
cec media: stih-cec: use CEC_CAP_DEFAULTS 2017-08-26 08:36:45 -04:00
delta media: st-delta: constify v4l2_m2m_ops structures 2017-08-20 08:03:39 -04:00
hva media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00