diff options
| author | Johan Hovold <johan@kernel.org> | 2017-03-16 11:41:55 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 09:35:15 +0200 |
| commit | b3c4c0c470b58dd4a5e40e11ccd9fea7fbbfa799 (patch) | |
| tree | 631255c6fdaa671b8e2fb71fb541a4bdb81d0f39 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c05490638ddfffa35d2fb03c1852f9013757a9e1 (diff) | |
Input: kbtab - validate number of endpoints before using them
commit cb1b494663e037253337623bf1ef2df727883cb7 upstream.
Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
