[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVMbjkvEXex_Z8ELPUo8hVZucFBCd2Wy4ENpiqEaLES_w@mail.gmail.com>
Date: Thu, 20 Sep 2018 08:48:36 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Trent Piepho <tpiepho@...inj.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Russell King <linux@...linux.org.uk>,
Todd Kjos <tkjos@...gle.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Greg KH <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] ARM: amba: Fix leak of driver_override attribute value
On Thu, Sep 20, 2018 at 1:48 AM Trent Piepho <tpiepho@...inj.com> wrote:
> If driver_override was set when a device was released the string would
> not be kfree'ed in amba_device_release and thus leaked when the amba
> device was freed.
>
> Cc: Russell King <linux@...linux.org.uk>
> Cc: Todd Kjos <tkjos@...gle.com>
> Cc: Geert Uytterhoeven <geert+renesas@...der.be>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Trent Piepho <tpiepho@...inj.com>
Reported-by: Geert Uytterhoeven <geert+renesas@...der.be>
Fixes: 3cf385713460eb2b ("ARM: 8256/1: driver coamba: add device
binding path 'driver_override'")
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists