aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2021-08-20 15:34:58 +0300
committerGreg Kroah-Hartman <[email protected]>2021-08-26 13:06:02 +0200
commitcbf286e8ef8337308c259ff5b9ce2e74d403be5a (patch)
tree479a55e4b2d6287bbeb785e4a129085995aa4cd3 /scripts/gdb/linux/vmalloc.py
parentd7428bc26fc767942c38d74b80299bcd4f01e7cb (diff)
xhci: fix unsafe memory usage in xhci tracing
Removes static char buffer usage in the following decode functions: xhci_decode_trb() xhci_decode_ptortsc() Caller must provide a buffer to use. In tracing use __get_str() as recommended to pass buffer. Minor chanes are needed in xhci debugfs code as these functions are also used there. Changes include moving XHCI_MSG_MAX definititon from xhci-trace.h to xhci.h Cc: <[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 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions