A uucp fix (4.1BSD)

chris.umcp-cs%udel-relay at sri-unix.UUCP chris.umcp-cs%udel-relay at sri-unix.UUCP
Fri Jun 10 00:44:51 AEST 1983


From:  Chris Torek <chris.umcp-cs at udel-relay>

Bug fix for 4.1BSD UUCP:

This may have been mentioned earlier, but I just fixed it last
night, so I guess it hasn't been seen here.  In anlwrk.c, in the
routine iswrk(), there is a line (around 69 I think) that checks

	if (listp == NULL || *listp == NULL || listp > (list + LLEN)

which is incorrect.  It should check

	if (listp == NULL || listp >= (list + LLEN) || *listp == NULL

Otherwise the call to "prefix" will usually cause uucico to core
dump after processing LLEN (20) C.* files.  (And if you haven't
fixed the abort()/intrEXIT() problem [find intrEXIT in cico.c,
change signal (SIGIOT, SIG_DFL) to signal (SIGILL, SIG_DFL)] you'll
get a 500K core dump.)

				- Chris (seismo!umcp-cs!chris)



More information about the Comp.unix.wizards mailing list