Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!linus!genrad!decvax!harpo!seismo!hao!hplabs!sri-unix!chris.umcp-cs@udel-relay
From: chris.umcp-cs%udel-relay@sri-unix.UUCP
Newsgroups: net.unix-wizards
Subject: A uucp fix (4.1BSD)
Message-ID: <1980@sri-arpa.UUCP>
Date: Thu, 9-Jun-83 10:44:51 EDT
Article-I.D.: sri-arpa.1980
Posted: Thu Jun  9 10:44:51 1983
Date-Received: Sat, 11-Jun-83 21:07:01 EDT
Lines: 21

From:  Chris Torek 

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)