Bug in Conf 2.0

Keith Gabryelski ag at elgar.UUCP
Mon Sep 19 04:20:39 AEST 1988


[This should have gone out to the net any way.  My uucico seems to be
barfing on this piece of mail (curious).  I haven't the time to figure
what exactly is going on, so I punt.]

   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.  My machine is an
   AT&T 3B15, running System V.2.1.  I used sdb to try and track it down,
   and it appears to be a call to malloc, which is called from mymalloc,
   which is called from getrc in the initialization code.

Thanks for the bug report.

I looked into the situation will mymalloc(), the only thing that
looked remotely strange to me was:

In the file `confopts.c' there is a function `tcapstr()'

The line:
	(void) strcpy(*var, tcapbuf);

Would be more reasonable if it was: 

	(void) cpystr(*var, tcapbuf, tmp-tcapbuf);

Without actually seeing the code, I really couldn't tell you for sure
this is the problem.  If this does not work, consider sending me a a
stack trace with as much info as you can supply.

In any case, I'd like to hear if the above fixed your problem or not.

Pax, Keith

-- 
     It took no computation, to dance to the rock 'n roll station.
[  Keith   ]  UUCP: {ucsd, cbosgd!crash, sdcsvax!crash, nosc!crash}!elgar!ag
[Gabryelski]  INET: ag at elgar.cts.com                 ARPA: elgar!ag at ucsd.edu



More information about the Comp.sources.bugs mailing list