| Date | Tue, 26 Mar 2019 10:36:42 +0900 | From | Greg Kroah-Hartman <> | 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@google.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@google.com> > Cc: stable <stable@vger.kernel.org> > Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > (cherry picked from commit 32fd87b3bbf5f7a045546401dfe2894dbbf4d8c3) > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > drivers/usb/core/config.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-)
Also added to 4.14.y and 4.9.y
|