diff options
| author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-20 09:00:55 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-12-13 08:01:01 -0500 |
| commit | baed3c4bc4c13de93e0dba0a26d601411ebcb389 (patch) | |
| tree | a49c2f9bfe8c78ee4fc3c45fa6aaef171e14e766 /tools/perf/scripts/python | |
| parent | 32f2fe5944092f3e289098e1e0a19073b2526817 (diff) | |
| download | kernel-baed3c4bc4c13de93e0dba0a26d601411ebcb389.tar.gz | |
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: c5f5d0f99794 ("[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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
