On 2/22/2011 6:44 PM, Steven Dake wrote:
> Clearly the iterate loop is wrong as is, and your patch is correct, but
> I'm curious, does this fix a specific bug?

https://bugzilla.redhat.com/show_bug.cgi?id=677975

:)

Fabio

> 
> Thanks
> -steve
> 
> On 02/22/2011 06:42 AM, Jan Friesse wrote:
>> Signed-off-by: Jan Friesse <[email protected]>
>> ---
>>  exec/objdb.c |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/exec/objdb.c b/exec/objdb.c
>> index dc36236..884263b 100644
>> --- a/exec/objdb.c
>> +++ b/exec/objdb.c
>> @@ -342,7 +342,7 @@ static void object_reload_notification(int startstop, 
>> int flush)
>>      }
>>  
>>      for (list = tmplist.next, tmp = list->next;
>> -            list != tmplist.prev; list = tmp, tmp = list->next) {
>> +            list != &tmplist; list = tmp, tmp = list->next) {
>>  
>>              tracker_pt = list_entry (list, struct object_tracker, 
>> object_list);
>>  
> 
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to