Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4684be16 authored by Maksim Salau's avatar Maksim Salau Committed by Greg Kroah-Hartman
Browse files

net: can: usb: gs_usb: Fix buffer on stack



commit b05c73bd1e3ec60357580eb042ee932a5ed754d5 upstream.

Allocate buffers on HEAP instead of STACK for local structures
that are to be sent using usb_control_msg().

Signed-off-by: default avatarMaksim Salau <maksim.salau@gmail.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 07389a14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment