qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] block: replace unchecked strdup/malloc/calloc w


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] block: replace unchecked strdup/malloc/calloc with glib
Date: Mon, 16 Jan 2012 12:13:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

Am 16.01.2012 10:28, schrieb Stefan Hajnoczi:
> Most of the codebase as been converted to use glib memory allocation
> functions.  There are still a few instances of malloc/calloc in the
> block layer and qemu-io.  Replace them, especially since they do not
> check the strdup/malloc/calloc return value.
> 
> Reported-by: Dr David Alan Gilbert <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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