diff options
author | Johan Hovold <johan@kernel.org> | 2017-03-13 15:53:54 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-04-10 13:29:20 +0300 |
commit | d5823511c0f8719a39e72ede1bce65411ac653b7 (patch) | |
tree | a770c803b345b82c614be5d63282b69a9354f715 /tools/perf/scripts/python/syscall-counts.py | |
parent | bff8ff6528bba99ca2e405dd59aaf06f0a4b5f65 (diff) | |
download | linux-d5823511c0f8719a39e72ede1bce65411ac653b7.tar.xz |
[media] dib0700: fix NULL-deref at probe
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Fixes: c4018fa2e4c0 ("[media] dib0700: fix RC support on Hauppauge
Nova-TD")
Cc: stable <stable@vger.kernel.org> # 3.16
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions