From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmkSM-0003Bh-RD for qemu-devel@nongnu.org; Mon, 16 Jan 2012 06:10:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmkSG-0005yI-I6 for qemu-devel@nongnu.org; Mon, 16 Jan 2012 06:10:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmkSG-0005xm-BZ for qemu-devel@nongnu.org; Mon, 16 Jan 2012 06:10:24 -0500 Message-ID: <4F140667.2010400@redhat.com> Date: Mon, 16 Jan 2012 12:13:43 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <1326706086-4316-1-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1326706086-4316-1-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block: replace unchecked strdup/malloc/calloc with glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, davidagilbert@uk.ibm.com 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 > Signed-off-by: Stefan Hajnoczi Thanks, applied to the block branch. Kevin