diff options
author | 2017-01-03 18:28:47 +0200 | |
---|---|---|
committer | 2017-01-03 17:37:32 +0100 | |
commit | 2a7cfdf37b7c08ac29df4c62ea5ccb01474b6597 (patch) | |
tree | b12c8a58d6a894f1fb8f2560c13abb26b1826489 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | usb: xhci: fix possible wild pointer (diff) | |
download | wireguard-linux-2a7cfdf37b7c08ac29df4c62ea5ccb01474b6597.tar.xz wireguard-linux-2a7cfdf37b7c08ac29df4c62ea5ccb01474b6597.zip |
usb: host: xhci: Fix possible wild pointer when handling abort command
When current command was supposed to be aborted, host will free the command
in handle_cmd_completion() function. But it might be still referenced by
xhci->current_cmd, which need to set NULL.
Cc: <stable@vger.kernel.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions