linux_dsm_epyc7002/drivers/media/platform/sti/c8sectpfe
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
..
c8sectpfe-common.c [media] c8sectpfe: Combine three checks into a single if block 2015-11-19 10:10:22 -02:00
c8sectpfe-common.h
c8sectpfe-core.c media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt 2017-12-13 08:01:01 -05:00
c8sectpfe-core.h
c8sectpfe-debugfs.c [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-debugfs.h [media] c8sectpfe: Add c8sectpfe debugfs support 2015-08-11 16:07:22 -03:00
c8sectpfe-dvb.c [media] constify stv6110x_devctl structure 2016-02-01 07:31:17 -02:00
c8sectpfe-dvb.h [media] c8sectpfe: Add support for various ST NIM cards 2015-08-11 16:06:49 -03:00
Kconfig media: c8sectpfe: DVB_C8SECTPFE should depend on HAS_DMA 2017-12-13 08:00:34 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00