diff options
| author | Griffin Kroah-Hartman <griffin@kroah.com> | 2026-08-19 12:04:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-01 16:31:07 +0200 |
| commit | 2430eb81e44111b30eeb5273bbcf8b24ca517ef9 (patch) | |
| tree | f05acf1f5065d1f0eb9fa97629743d1349c0c629 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cd3b9cea675bbfebc223f007dc2f4e79524fa54c (diff) | |
usb: image: mdc800: change kmalloc() to kzalloc()
Change the kmalloc() calls in usb_mdc800_init() for irq_urb_buffer and
download_urb_buffer to kzalloc(), avoiding potential stack leaks if a
shorter message is received in mdc800_usb_irq() and
mdc800_usb_download_notify()
Assisted-by: gkh_clanker_t1000
Cc: stable <stable@kernel.org>
Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
Link: https://patch.msgid.link/20260819-usb_misc_random-v1-1-43a0dcee3a32@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
