2.8 exec bug fix wanted - (nf)

jpayne%bbn-vax at sri-unix.UUCP jpayne%bbn-vax at sri-unix.UUCP
Tue Dec 20 01:14:34 AEST 1983


From:  Jonathan Payne <jpayne at bbn-vax>

Yes, we found that bug recently.  The fix is in getxfile:

		expand(ds, S_DATA);
		i = ds;
		while (--i)
			clearseg(u.u_procp->p_daddr + i);

Change the "while (--i)" to "while (--i > 0)"



More information about the Comp.unix.wizards mailing list