[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247300: libc6: malloc() never fails on 2.4 kernels, making processes crash



On Fri, May 07, 2004 at 12:58:28AM +0200, Vincent Lefevre wrote:
> On 2004-05-06 16:44:54 -0400, Daniel Jacobowitz wrote:
> > The documentation in the 2.4 kernel is, indeed, wrong IIRC.
> > 
> > BTW, from 2.6:
> >   In mode 2 the MAP_NORESERVE flag is ignored. 
> 
> This is precisely what I thought to be the bug in glibc: the fact
> (at least with the 2.4 kernel) that this flag is used by glibc.
> On which documentation is glibc based (in particular, concerning
> old_mmap)?

I don't know.  The comments suggest malloc made the choice
deliberately, though, so I don't think it's appropriate to reverse it.

-- 
Daniel Jacobowitz



Reply to: