[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] dma-helpers: Initialize DMAAIOCB in_cancel
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] dma-helpers: Initialize DMAAIOCB in_cancel flag |
Date: |
Fri, 28 Mar 2014 14:24:46 +0000 |
On 28 March 2014 14:22, Peter Maydell <address@hidden> wrote:
> 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.
Please ignore the 1/2 in the header -- this is a single
standalone patch, I just fluffed the git-format-patch command.
thanks
-- PMM