[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1342627126.9105.1.camel@brekeke>
Date: Wed, 18 Jul 2012 18:58:46 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Julia Lawall <Julia.Lawall@...6.fr>
Cc: kernel-janitors@...r.kernel.org,
Adrian Hunter <adrian.hunter@...el.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs/ubifs/orphan.c: remove invalid reference to list
iterator variable
On Mon, 2012-07-09 at 09:27 +0200, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall@...6.fr>
>
> If list_for_each_entry, etc complete a traversal of the list, the iterator
> variable ends up pointing to an address at an offset from the list head,
> and not a meaningful structure. Thus this value should not be used after
> the end of the iterator. Replace a field access from orphan by NULL in two
> places.
Pushed to linux-ubifs.git, thanks!
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists