On Mon, Dec 28, 2009 at 02:53:25PM +0000, Jamie Lokier wrote: > 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) :-) >
qemu_realloc(0) currently does raise an abort. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net