diff options
| author | Rickard Strandqvist <[email protected]> | 2014-05-16 17:39:13 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-05-27 15:14:13 -0700 |
| commit | d5afce82e131eb5a171afeba0bc5fefbe2417ad9 (patch) | |
| tree | 0ee29f9b6e9df63e64ed94a0951b83b552c3bbeb /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | df3ce23a56654bbf08e0c36ab1690cd8316a53c4 (diff) | |
USB: keyspan: fix potential null pointer dereference
Move control-urb dereference to after NULL-check. There is otherwise a
risk of a possible null pointer dereference.
Was largely found by using a static code analysis program called
cppcheck.
[Johan: modify commit message somewhat ]
[gkh: remove stable tag as it's not a real problem that anyone has ever hit]
Signed-off-by: Rickard Strandqvist <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions