| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | ieva01.lanet.lv: pavenis owned process doing -bs |
| Date: | Wed, 27 Jan 1999 10:15:05 +0200 (WET) |
| From: | Andris Pavenis <pavenis AT lanet DOT lv> |
| To: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| cc: | djgpp-workers AT delorie DOT com |
| Subject: | Re: Problem with FSDB (patch included) |
| In-Reply-To: | <Pine.SUN.3.91.990127100554.25202O-100000@is> |
| Message-ID: | <Pine.A41.4.05.9901271008570.65304-100000@ieva01.lanet.lv> |
| MIME-Version: | 1.0 |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |