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

Joakim Tjernlund
2012-10-16T11:46:54Z

Marek Vasut <marex@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