qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] Permit zero-sized qemu_malloc() & friends


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH] Permit zero-sized qemu_malloc() & friends
Date: Sun, 06 Dec 2009 17:23:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Lightning/1.0pre Thunderbird/3.0b4

On 12/06/2009 01:00 PM, malc wrote:
or anything else with said bit set will yield EFAULT. Consequently the
code you cited as a well behaving malloc(0) call site will bomb.

It is not well-behaving unless the definition of EFAULT is changed consistently.

Paolo





reply via email to

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