www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/09/07:36:42

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Message-ID: <41B83C18.1FAD9A6D@yahoo.com>
Date: Thu, 09 Dec 2004 06:50:48 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Bison 1.875 (release 2)
References: <41B7381F DOT 20566 DOT E3E148 AT localhost> <41B77385 DOT 44C11362 AT yahoo DOT com> <Pine DOT OSF DOT 4 DOT 58 DOT 0412091253210 DOT 22467 AT sirppi DOT helsinki DOT fi>
Reply-To: djgpp-workers AT delorie DOT com

Esa A E Peuha wrote:
> On Wed, 8 Dec 2004, CBFalconer wrote:
> > Juan Manuel Guerrero wrote:
> 
>>> The reason for
>>> the bison failure was that I allocated an string using strlen()
>>> without adding one byte more for the terminating '\0'. Later when
>>> this string was free()ed with djdev204 the program crashed. But
>>> free() of djdev203 never complained abuot this so I never noticed
>>> this bug.
> 
> That's why it would be good to test programs with YAMD; it catches any
> overrun of malloced buffers reliably.

What is YAMD?

> 
>> Does this mean that my nmalloc is now incorporated in 2.04?
> 
> I think so.  The malloc of 2.03 is buggy, and the earlier malloc from
> BSD wasn't very good either, so clearly nmalloc is the best we've got.
> 
> > I know I promised to finish the memalign alteration, and I did
> > start it, but I have just returned from the hospital with a triple
> > bypass.
> 
> I'm sorry to hear that.  Hope you get well soon.
> 
>> At any rate, I have done no more work on memalign, and
>> probably won't for at least the next month.
> 
> In that case we probably should release 2.04 with the current memalign.
> It seems to be quite reliable after fixing the bugs I reported months
> ago.

Where can I find the "current memalign", which I assume is working
with nmalloc.  Can I assume my malldbg module is also incorporated
already (it is in the nmalloc package).  I assume that the
installed nmalloc is my code unchanged apart from stripping the
unfinished memalign code.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019