qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] loader: don't call realloc(O) when no symbols a


From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH] loader: don't call realloc(O) when no symbols are present
Date: Mon, 28 Dec 2009 14:53:25 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Aurelien Jarno wrote:
> This fixes the loading of a stripped kernel with zero malloc disabled.

*Raises an eyebrow*

Even though there's different perspectives over whether qemu_malloc(0)
should be allowed, inherited from ambiguity over malloc(0),
realloc(p,0) has always had a standard, well-defined meaning.
One which admittedly differs from malloc(0) :-)

-- Jamie




reply via email to

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