[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20060929014845.70d2b807.akpm@osdl.org>
Date: Fri, 29 Sep 2006 01:48:45 -0700
From: Andrew Morton <akpm@...l.org>
To: Cornelia Huck <cornelia.huck@...ibm.com>
Cc: Jesper Juhl <jesper.juhl@...il.com>,
Greg Kroah-Hartman <gregkh@...e.de>,
linux-kernel@...r.kernel.org, Patrick Mochel <mochel@...l.org>,
Patrick Mochel <mochel@...inity.powertie.org>
Subject: Re: [PATCH] Don't leak 'old_class_name' in
drivers/base/core.c::device_rename()
On Fri, 29 Sep 2006 10:13:27 +0200
Cornelia Huck <cornelia.huck@...ibm.com> wrote:
> On Thu, 28 Sep 2006 23:56:01 +0200,
> Jesper Juhl <jesper.juhl@...il.com> wrote:
>
> > If kmalloc() fails to allocate space for 'old_symlink_name' in
> > drivers/base/core.c::device_rename(), then we'll leak 'old_class_name'.
>
> driver-core-fixes-check-for-return-value-of-sysfs_create_link.patch (in
> -mm) already fixes this (amongst other things).
>
I noticed ;)
Greg, I fixed up the rejects this caued to
driver-core-fixes-check-for-return-value-of-sysfs_create_link.patch so you
might as well hang onto this patch. Will include Cornelia's patch in the next
patch-bombing.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists