[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/9pfs: Fix segfault with 9p2000.u
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] hw/9pfs: Fix segfault with 9p2000.u |
Date: |
Mon, 20 May 2013 08:10:47 +0200 |
On Mon, May 20, 2013 at 8:05 AM, Aneesh Kumar K.V
<address@hidden> wrote:
> From: "Aneesh Kumar K.V" <address@hidden>
>
> When guest tries to chmod a block or char device file over 9pfs,
> the qemu process segfaults. With 9p2000.u protocol we use wstat to
> change mode bits and client don't send extension information for
> chmod. We need to check for size field to check whether extension
> info is present or not.
>
> Signed-off-by: Aneesh Kumar K.V <address@hidden>
> ---
> hw/9pfs/virtio-9p.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>