Subject: Re: malloc problem
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 11/16/2001 21:46:16
In article <20011116153913.Z3791@melancolie.espci.fr>,
Emmanuel Dreyfus <manu@netbsd.org> wrote:
>Hi!
>
>The following program crashes on NetBSD/i386-1.5.2. I expected malloc() to
>return NULL and setting errno to ENOMEM instead of getting a crash. Is there
>any explanation for this, or is it a bug?
>

Yes, our malloc did not handle large allocations properly until I fixed it.
Someone should pull up the fixes [current malloc] to 1.5.x.

christos