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

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

usb: misc: legousbtower: Fix buffers on stack



commit 942a48730faf149ccbf3e12ac718aee120bb3529 upstream.

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

Signed-off-by: default avatarMaksim Salau <maksim.salau@gmail.com>
Tested-by: default avatarAlfredo Rafael Vicente Boix <alviboi@gmail.com&gt;;>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1a39dd09
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