		2) CRASH IN ANLWRK - TESTING OF POINTER *LISTP


From: tekmdp!duke!chico!harpo!mhtsa!ihnss!ucbvax!decvax!ittvax!swatt
Date: Mon Nov 30 08:37:25 1981
Sibject: uucico segmentation fault bug: net.4bsd-bugs,net.v7-bugs

Art Feather (pur-ee!aef) and I have together tracked down a bug in
uucico that causes segmentation faults during sessions which try
to transfer more than 20 files.  The fix is:

in anlwrk.c, in iswrk(), around line 67:

	67c67,68
	< 	if (listp == NULL || *listp == NULL || listp > (list + LLEN)
	---
	> 	/* 11/30/81: swatt: Fixed to limit listp to proper range */
	>	if (listp == NULL || listp >= &list[LLEN] || *listp == NULL


The original code will cause the fault a little later down when
it references "*listp", where (listp == &list[LLEN]).


----------


Other persons who submitted this fix are:

From: teklabs!decvax!microsof!uw-beave!jim
Date: Wed Sep 22 10:32:40 1982

From: teklabs!decvax!harpo!floyd!cmcl2!salkind
Date: Thu Jun 10 15:11:08 1982

From: teklabs!zehntel!sytek!menlo70!hao!hplabs!sri-unix!v.wales@Ucla-Security
Date: Thu Oct  7 20:49:46 1982


