From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XK2f2-00080a-Iu for qemu-devel@nongnu.org; Wed, 20 Aug 2014 05:58:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XK2ey-0001C8-49 for qemu-devel@nongnu.org; Wed, 20 Aug 2014 05:58:32 -0400 Date: Wed, 20 Aug 2014 11:58:11 +0200 From: Kevin Wolf Message-ID: <20140820095811.GB6122@noname.redhat.com> References: <1408347771-10596-1-git-send-email-zhang.zhanghailiang@huawei.com> <53F1B484.4080508@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53F1B484.4080508@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7] virtio-blk: fix reference a pointer which might be freed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: zhanghailiang , mst@redhat.com, qemu-stable@nongnu.org, luonengjun@huawei.com, peter.huangpeng@huawei.com, qemu-devel@nongnu.org, stefanha@redhat.com Am 18.08.2014 um 10:08 hat Paolo Bonzini geschrieben: > Il 18/08/2014 09:42, zhanghailiang ha scritto: > > In function virtio_blk_handle_request, it may freed memory pointed by req, > > So do not access member of req after calling this function. > > > > Reviewed-by: Michael S. Tsirkin > > Reviewed-by: Stefan Hajnoczi > > Signed-off-by: zhanghailiang > > Cc: qemu-stable@nongnu.org Thanks, added the Cc: line and applied to the block branch. Kevin