From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW8pP-00076h-Qs for qemu-devel@nongnu.org; Fri, 04 Apr 2014 14:27:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW8pL-0005e8-0S for qemu-devel@nongnu.org; Fri, 04 Apr 2014 14:26:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW8pK-0005dT-Pr for qemu-devel@nongnu.org; Fri, 04 Apr 2014 14:26:54 -0400 Date: Fri, 4 Apr 2014 19:39:59 +0200 From: Kevin Wolf Message-ID: <20140404173959.GD6465@noname.redhat.com> References: <1396016569-1913-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1396016569-1913-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH 1/2] dma-helpers: Initialize DMAAIOCB in_cancel flag List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , patches@linaro.org Am 28.03.2014 um 15:22 hat Peter Maydell geschrieben: > Initialize the dbs->in_cancel flag in dma_bdrv_io(), since qemu_aio_get() > does not return zero-initialized memory. Spotted by the clang sanitizer > (which complained when the value loaded in dma_complete() was not valid > for a bool type); this might have resulted in leaking the AIO block. > > Signed-off-by: Peter Maydell Thanks, applied to the block branch. Kevin