[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090426092344.GA9009@opensource.wolfsonmicro.com>
Date: Sun, 26 Apr 2009 10:23:44 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Paul Walmsley <paul@...an.com>
Cc: lrg@...mlogic.co.uk, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, dbrownell@...rs.sourceforge.net
Subject: Re: [PATCH] regulator core: fix double-free in
regulator_register() error path
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@...nsource.wolfsonmicro.com>
--
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