Skip to content
Commit b05c73bd authored by Maksim Salau's avatar Maksim Salau Committed by Marc Kleine-Budde
Browse files

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



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>
Cc: linux-stable <stable@vger.kernel.org> # >= v4.8
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 71b61156
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment