Sergey Shtylyov
1dd6ea298d
usb: host: xhci: use snprintf() in xhci_decode_trb()
...
[ Upstream commit 1ce69c35b86038dd11d3a6115a04501c5b89a940 ]
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 <s.shtylyov@omp.ru>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220630124645.1805902-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 15:15:24 +02:00
..
2021-09-14 10:34:15 +02:00
2021-09-14 10:26:29 +02:00
2021-11-17 14:34:18 +01:00
2022-02-15 15:11:20 +01:00
2022-07-08 14:58:51 +02:00
2022-04-21 18:53:53 +02:00
2021-10-05 12:52:03 +02:00
2021-10-21 12:47:56 +02:00
2021-09-21 16:33:00 +02:00
2022-05-05 21:53:18 +02:00
2021-08-26 13:09:34 +02:00
2022-04-21 18:53:53 +02:00
2022-05-19 18:11:25 +02:00
2022-08-17 15:15:04 +02:00
2022-04-23 10:33:53 +02:00
2022-01-26 13:50:07 +01:00
2021-12-21 07:14:05 +01:00
2022-05-12 13:58:48 +02:00
2022-04-21 18:53:53 +02:00
2022-04-23 10:33:53 +02:00
2022-04-23 10:33:53 +02:00
2021-07-21 10:03:42 +02:00
2022-07-08 14:58:51 +02:00
2022-04-23 10:33:53 +02:00
2022-04-23 10:33:53 +02:00
2022-04-21 15:01:32 +02:00
2021-12-13 14:58:32 +01:00
2022-04-23 10:33:53 +02:00
2022-08-17 15:15:05 +02:00
2022-02-15 15:11:20 +01:00
2022-04-23 10:33:53 +02:00
2021-10-21 12:48:18 +02:00
2022-08-17 15:15:05 +02:00
2022-06-03 11:17:49 -07:00
2022-05-19 18:11:25 +02:00
2022-04-21 19:01:30 +02:00
2022-04-19 16:27:05 +02:00
2021-12-17 16:51:59 +01:00
2021-12-17 16:51:31 +01:00
2022-01-05 16:18:11 +01:00
2022-04-23 10:33:53 +02:00
2022-04-23 10:33:53 +02:00
2021-03-18 09:02:27 +01:00
2022-04-23 10:33:53 +02:00
2021-11-17 14:36:57 +01:00
2021-12-17 16:52:21 +01:00
2022-05-19 14:22:05 +02:00
2022-02-17 16:20:45 +01:00
2022-02-17 16:20:45 +01:00
2022-02-17 16:20:45 +01:00
2021-08-26 13:06:02 +02:00
2021-05-13 14:47:36 +02:00
2022-06-23 16:27:28 +02:00
2022-05-12 18:32:25 +02:00
2022-05-12 18:35:38 +02:00
2022-02-17 16:12:04 +01:00
2022-05-12 18:35:38 +02:00
2022-02-25 19:12:21 +05:30
2022-02-25 19:12:21 +05:30
2021-09-01 09:59:34 -07:00
2022-06-23 16:27:28 +02:00
2021-07-21 10:05:59 +02:00
2022-05-12 18:32:25 +02:00
2022-02-25 19:12:21 +05:30
2022-03-03 15:45:15 +01:00
2022-05-12 18:32:25 +02:00
2022-08-17 15:15:05 +02:00
2021-08-26 13:06:02 +02:00
2022-06-23 16:27:28 +02:00
2022-08-17 15:15:24 +02:00