X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs Date: Wed, 27 Jan 1999 10:15:05 +0200 (WET) From: Andris Pavenis To: Eli Zaretskii cc: djgpp-workers AT delorie DOT com Subject: Re: Problem with FSDB (patch included) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Wed, 27 Jan 1999, Eli Zaretskii wrote: > > On Tue, 26 Jan 1999, Andris Pavenis wrote: > > > static void > > redraw (int first) > > { > > ! char *buf = alloca (8192); > > Isn't the length of the symbol known somehow at this point? If so, > why not use that length explicitly? > I didn't study FSDB sources very carefully. I only saw evident memory overwrite problem and tried to guess the place where it happens from sources. Tests showed that I suceeded. Perhaps better would be to cut tail of name of ext. symbol before sprintf(). Anyway we'll not be able to see it on screen. Andris