Path: utzoo!attcan!uunet!husc6!rutgers!ucsd!ucsdhub!jack!elgar!ag From: ag@elgar.UUCP (Keith Gabryelski) Newsgroups: comp.sources.bugs Subject: Bug in Conf 2.0 Summary: An open letter to Stephen Corbesero. Keywords: conf bugs 2.0 Message-ID: <2@elgar.UUCP> Date: 18 Sep 88 18:20:39 GMT Reply-To: ag@elgar.UUCP (Keith Gabryelski) Organization: Elgar Corporation, San Diego, CA Lines: 39 [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@elgar.cts.com ARPA: elgar!ag@ucsd.edu