diff options
author | Sven Schnelle <[email protected]> | 2012-08-17 21:43:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2012-08-17 17:55:46 -0700 |
commit | 99f347caa4568cb803862730b3b1f1942639523f (patch) | |
tree | eea4cff2cddd658d93beca0a46f31be807b8b3fa /tools/perf/util/trace-event-scripting.c | |
parent | 83957df21dd94655d2b026e0944a69ff37b83988 (diff) |
USB: CDC ACM: Fix NULL pointer dereference
If a device specifies zero endpoints in its interface descriptor,
the kernel oopses in acm_probe(). Even though that's clearly an
invalid descriptor, we should test wether we have all endpoints.
This is especially bad as this oops can be triggered by just
plugging a USB device in.
Signed-off-by: Sven Schnelle <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions