lkml.org 
[lkml]   [1996]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectBUG in arp.c is found
Date
From
Hi, all!

Thanks to Thomas Koenig!
This bug was really ugly, I am ashamed...


int arp_get_info(char *buffer, char **start, off_t offset, int length, int dummy)
{
..........

len += size;
pos += size;

if (pos <= offset)
len=0;
if (pos >= offset+length)
#ifdef NO_ANK_FIX
break;
#else
goto done;
#endif
}
}
#ifndef NO_ANK_FIX
done:
#endif
arp_unlock();
.............
}

Alexey Kuznetsov.


\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.303 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site