qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Do not abort on qemu_malloc(0) in production bu


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH] Do not abort on qemu_malloc(0) in production builds
Date: Wed, 09 Dec 2009 22:35:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Anthony Liguori <address@hidden> writes:

> Markus Armbruster wrote:
>> This still aborts on qemu_realloc(NULL, 0), even with
>> CONFIG_ZERO_MALLOC.  Intentional?
>>   
> I guess not.  Should it?  Seems like a very strange case..

It is a strange case, but I think the point of this commit is not to
abort on conditions perceived strange ;)

I think it should follow C89 and behave exactly like qemu_malloc(0).




reply via email to

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