diff options
| author | Sergey Shtylyov <[email protected]> | 2022-06-30 15:46:45 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-06-30 15:42:31 +0200 |
| commit | 1ce69c35b86038dd11d3a6115a04501c5b89a940 (patch) | |
| tree | 4fe9a249e43325aec88adfb981af99bf932d3521 /tools/perf/scripts/python | |
| parent | 3b91edd624ab1ab694deef513a45eb9e9d49d75f (diff) | |
usb: host: xhci: use snprintf() in xhci_decode_trb()
Commit cbf286e8ef83 ("xhci: fix unsafe memory usage in xhci tracing")
apparently missed one sprintf() call in xhci_decode_trb() -- replace
it with the snprintf() call as well...
Found by Linux Verification Center (linuxtesting.org) with the SVACE static
analysis tool.
Fixes: cbf286e8ef83 ("xhci: fix unsafe memory usage in xhci tracing")
Signed-off-by: Sergey Shtylyov <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions