[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8D983423E7EDF846BB3056827B8CC5D14BC3AA91@corpmail1.na.ads.idt.com>
Date: Fri, 5 Jul 2013 19:04:02 +0000
From: "Bounine, Alexandre" <Alexandre.Bounine@....com>
To: Dan Carpenter <dan.carpenter@...cle.com>,
Ryan Mallon <rmallon@...il.com>
CC: Matt Porter <mporter@...nel.crashing.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: RE: [patch] rapidio: use after free in unregister function
> From: Dan Carpenter [mailto:dan.carpenter@...cle.com]
> Sent: Friday, July 05, 2013 3:19 AM
> To: Ryan Mallon
> Cc: Matt Porter; Bounine, Alexandre; linux-kernel@...r.kernel.org;
> kernel-janitors@...r.kernel.org
> Subject: Re: [patch] rapidio: use after free in unregister function
>
> On Fri, Jul 05, 2013 at 05:06:14PM +1000, Ryan Mallon wrote:
> > On 05/07/13 16:02, Dan Carpenter wrote:
> > It looks like an mport_id can only be assigned to one scan entry (see
> > rio_register_scan), so you can use list_for_each_entry and break;
> after
> > the kfree(scan); instead.
>
> Yeah. You're right. I'll resend.
>
> regards,
> dan carpenter
Thank you for catching it. Missed it because we have only one enumerator so far.
Alex.
--
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