Messages in this thread | ![/](/images/icornerl.gif) | | Subject | BUG in arp.c is found | Date | Sun, 3 Mar 1996 19:09:25 +0300 (MSK) | From | (really A.N.Kuznetsov) |
| |
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.
| ![\](/images/icornerr.gif) |