Bug in Conf 2.0

William G. Hutchison wgh at Grumpy.UUCP
Thu Sep 29 06:31:50 AEST 1988


In article <2 at elgar.UUCP>, ag at elgar.UUCP (Keith Gabryelski) writes:
>    Date: 15 Sep 88 10:32:05 EDT (Thu)
>    From: ucsd!rutgers!bpa.bell-atl.com!lehi3b15!flash (Stephen Corbesero)
>    I just received Conf across the net, and compiled it.  However, I get
>    a "Memory Fault -- core dumped" almost immediately.  

I compiled conf on a Unisys 7000/52 (CCI Tahoe) running SysV rel 2.
I found that malloc was being called to allocate zero bytes: I did not
have time to find out why.  I changed the source so that malloc was only
called to allocate a positive number of bytes (1 or more).
 With that fix, conf works fine.
Perhaps the author can find the "root" cause (pun intended).

	Yr friendly neighborhood hacker:
-- 
Bill Hutchison, DP Consultant	rutgers!cbmvax!burdvax!Grumpy!wgh
Unisys UNIX Portation Center	"What one fool can do, another can!"
P.O. Box 500, M.S. B121		Ancient Simian Proverb, quoted by
Blue Bell, PA 19424		Sylvanus P. Thompson, in _Calculus Made Easy_



More information about the Comp.sources.bugs mailing list