aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2021-08-20 15:34:59 +0300
committerGreg Kroah-Hartman <[email protected]>2021-08-26 13:06:02 +0200
commit4843b4b5ec64b875a5e334f280508f1f75e7d3e4 (patch)
treec2694d4470a60cb6a17665b25f755f2e803576d5 /scripts/gdb/linux/vmalloc.py
parentcbf286e8ef8337308c259ff5b9ce2e74d403be5a (diff)
xhci: fix even more unsafe memory usage in xhci tracing
Removes static char buffer usage in the following decode functions: xhci_decode_ctrl_ctx() xhci_decode_slot_context() xhci_decode_usbsts() xhci_decode_doorbell() xhci_decode_ep_context() Caller must provide a buffer to use. In tracing use __get_str() as recommended to pass buffer. Minor changes are needed in other xhci code as these functions are also used elsewhere 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