Re: [PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-18 Thread Artem Bityutskiy
On Mon, 2012-07-09 at 09:27 +0200, Julia Lawall wrote: > From: Julia Lawall > > 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

Re: [PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-18 Thread Artem Bityutskiy
On Mon, 2012-07-09 at 09:27 +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@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

[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-09 Thread Julia Lawall
From: Julia Lawall 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

[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-09 Thread Julia Lawall
From: Julia Lawall julia.law...@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

[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-08 Thread Julia Lawall
From: Julia Lawall 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

[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-08 Thread Julia Lawall
From: Julia Lawall julia.law...@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