grub-devel
[Top][All Lists]
Advanced

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

Re: GRUB2: *BSD and more patch


From: Jeroen Dekkers
Subject: Re: GRUB2: *BSD and more patch
Date: Mon, 22 Mar 2004 15:26:38 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Mon, Mar 22, 2004 at 02:49:41PM +0100, Yoshinori K. Okuji wrote:
> On Monday 22 March 2004 09:20, Sergey Matveychuk wrote:
> > @@ -194,7 +197,11 @@ pupa_memalign (pupa_size_t align, pupa_s
> >  {
> >    void *p;
> >    
> > +#ifdef HAVE_MEMALIGN
> >    p = memalign (align, size);
> > +#else
> > +  pupa_util_error ("memalign not available");
> > +#endif
> >    if (! p)
> >      pupa_util_error ("out of memory");
> 
> This segfaults if pupa_memalign is used actually. It must return a NULL 
> pointer if fails.

It doesn't return, pupa_util_error() calls exit().

-- 
Jeroen Dekkers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]