[U-Boot] [PATCH] Prevent malloc with size 0

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Oct 16 13:46:54 CEST 2012


Marek Vasut <marex at denx.de> wrote on 2012/10/16 12:43:08:
> 
> Dear Joakim Tjernlund,
> 
> [...]
> 
> > > do about this patch?
> > 
> > Skip the idea to protect a page, this is too complicated for a boot
> > loader. Just
> > treat malloc(0) as malloc(1) internally.
> 
> I was more interested in knowing if we should drop the patch or what ... 
?

oh, yes I think så.

 Jocke


More information about the U-Boot mailing list