From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: lrg@slimlogic.co.uk, linux-kernel@vger.kernel.org,
linux-omap@vger.kernel.org, dbrownell@users.sourceforge.net
Subject: Re: [PATCH] regulator core: fix double-free in regulator_register() error path
Date: Sun, 26 Apr 2009 10:23:44 +0100 [thread overview]
Message-ID: <20090426092344.GA9009@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <alpine.DEB.2.00.0904250526210.28378@utopia.booyaka.com>
On Sat, Apr 25, 2009 at 05:28:36AM -0600, Paul Walmsley wrote:
> During regulator registration, any error after device_register() will
> cause a double-free on the struct regulator_dev 'rdev'. The bug is in
> drivers/regulator/core.c:regulator_register():
Looks good:
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
next prev parent reply other threads:[~2009-04-26 9:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-25 11:28 [PATCH] regulator core: fix double-free in regulator_register() error path Paul Walmsley
2009-04-25 22:11 ` David Brownell
2009-04-26 4:53 ` Paul Walmsley
2009-04-28 3:08 ` David Brownell
2009-04-28 8:16 ` Mark Brown
2009-04-28 9:32 ` David Brownell
2009-04-28 11:00 ` Mark Brown
2009-04-28 11:47 ` David Brownell
2009-04-28 12:47 ` Mark Brown
2009-04-26 9:23 ` Mark Brown [this message]
2009-04-27 11:40 ` Liam Girdwood
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=20090426092344.GA9009@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=dbrownell@users.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=lrg@slimlogic.co.uk \
--cc=paul@pwsan.com \
/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