[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190326013642.GE21198@kroah.com>
Date: Tue, 26 Mar 2019 10:36:42 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: stable@...r.kernel.org, Alan Stern <stern@...land.harvard.edu>,
Suwan Kim <suwan.kim027@...il.com>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Andrey Konovalov <andreyknvl@...gle.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [BACKPORT 4.4.y 25/25] USB: core: only clean up what we allocated
On Fri, Mar 22, 2019 at 04:44:16PM +0100, Arnd Bergmann wrote:
> From: Andrey Konovalov <andreyknvl@...gle.com>
>
> When cleaning up the configurations, make sure we only free the number
> of configurations and interfaces that we could have allocated.
>
> Reported-by: Andrey Konovalov <andreyknvl@...gle.com>
> Cc: stable <stable@...r.kernel.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> (cherry picked from commit 32fd87b3bbf5f7a045546401dfe2894dbbf4d8c3)
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> drivers/usb/core/config.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
Also added to 4.14.y and 4.9.y
Powered by blists - more mailing lists