From: Markus Armbruster <armbru@redhat.com>
To: Anthony Liguori <aliguori@linux.vnet.ibm.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] Do not abort on qemu_malloc(0) in production builds
Date: Wed, 09 Dec 2009 22:35:38 +0100 [thread overview]
Message-ID: <m3hbrzrfth.fsf@crossbow.pond.sub.org> (raw)
In-Reply-To: <4B2010A6.5030400@linux.vnet.ibm.com> (Anthony Liguori's message of "Wed, 09 Dec 2009 15:03:34 -0600")
Anthony Liguori <aliguori@linux.vnet.ibm.com> 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).
prev parent reply other threads:[~2009-12-09 21:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 19:04 [Qemu-devel] [PATCH] Do not abort on qemu_malloc(0) in production builds Anthony Liguori
2009-12-09 19:28 ` Markus Armbruster
2009-12-09 21:03 ` Anthony Liguori
2009-12-09 21:35 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3hbrzrfth.fsf@crossbow.pond.sub.org \
--to=armbru@redhat.com \
--cc=aliguori@linux.vnet.ibm.com \
--cc=aliguori@us.ibm.com \
--cc=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.