[net.bugs.uucp] uucp dies after 20 files

phil@sdcsvax.UUCP (08/03/84)

Well.... the results are in.
At least 20 of you suggested that uucp was bombing due 
to a missing fclose call.   I had guessed the same thing, but
that was not it.

The actual bug was in anlwrk.c and the fix is illustrated below.
We are running 4.1 bsd...


67c67
< 	if (listp == NULL || *listp == NULL || listp > (list + LLEN)
---
> 	if (listp == NULL || listp >= (list + LLEN) || *listp == NULL