Small patch for vn

Scott Garfinkle seg at smsdpg.uu.net
Wed Jan 11 02:07:27 AEST 1989


vn (through 4/88 patchlevel) can bomb under some circumstances if MAILPATH is
defined.  Following is the patch:
---------------------------------------
*** std.c-	Tue Jan 10 10:56:33 1989
--- std.c	Tue Jan 10 10:59:10 1989
***************
*** 1462,1467 ****
--- 1462,1471 ----
  	*/
  	if (i > 1 && hdr->priv_num < 8)
  	{
+ 		/* Actually, we may not have "made Pool" at all!  Now we check. -seg
+ 		 */
+ 		if(Pool == NULL)
+ 			Pool = str_tpool(100);
  		(hdr->priv)[hdr->priv_num] = str_tstore(Pool,ptr);
  		++(hdr->priv_num);
  	}



More information about the Comp.sources.bugs mailing list