[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable
Artem Bityutskiy
dedekind1 at gmail.com
Wed Jul 18 11:58:46 EDT 2012
On Mon, 2012-07-09 at 09:27 +0200, Julia Lawall wrote:
> From: Julia Lawall <Julia.Lawall at lip6.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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120718/5db980dd/attachment.sig>
More information about the linux-mtd
mailing list