Re: [PATCH v3] usb: misc: legousbtower: Fix buffers on stack

From: Greg Kroah-Hartman
Date: Wed Apr 26 2017 - 05:49:19 EST


On Tue, Apr 25, 2017 at 10:49:21PM +0300, Maksim Salau wrote:
> Allocate buffers on HEAP instead of STACK for local structures
> that are to be received using usb_control_msg().
>
> Signed-off-by: Maksim Salau <maksim.salau@xxxxxxxxx>
> Tested-by: Alfredo Rafael Vicente Boix <alviboi@xxxxxxxxx>;
> Cc: stable <stable@xxxxxxxxxxxxxxx>
>
> ---
> Changes in v3:
> * rebased against usb-next;
> * removed Tested-by: Alfredo Rafael Vicente Boix <alviboi@xxxxxxxxx>;

I added this back, as it matters, and your change from the previous
version was trivial.

> * removed Cc: stable@xxxxxxxxxxxxxxx
> since this patch doesn't apply against v4.10.12

I added this back as well :)

thanks,

greg k-h