From: Andrew Morton <akpm@osdl.org>
To: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Jesper Juhl <jesper.juhl@gmail.com>,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-kernel@vger.kernel.org, Patrick Mochel <mochel@osdl.org>,
Patrick Mochel <mochel@infinity.powertie.org>
Subject: Re: [PATCH] Don't leak 'old_class_name' in drivers/base/core.c::device_rename()
Date: Fri, 29 Sep 2006 01:48:45 -0700 [thread overview]
Message-ID: <20060929014845.70d2b807.akpm@osdl.org> (raw)
In-Reply-To: <20060929101327.1ae1b793@gondolin.boeblingen.de.ibm.com>
On Fri, 29 Sep 2006 10:13:27 +0200
Cornelia Huck <cornelia.huck@de.ibm.com> wrote:
> On Thu, 28 Sep 2006 23:56:01 +0200,
> Jesper Juhl <jesper.juhl@gmail.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.
prev parent reply other threads:[~2006-09-29 8:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 21:56 Jesper Juhl
2006-09-29 8:13 ` Cornelia Huck
2006-09-29 8:48 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060929014845.70d2b807.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=cornelia.huck@de.ibm.com \
--cc=gregkh@suse.de \
--cc=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@infinity.powertie.org \
--cc=mochel@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome