qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] 9pfs: don't BUG_ON() if fid is already opened


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH] 9pfs: don't BUG_ON() if fid is already opened
Date: Thu, 27 Oct 2016 09:39:29 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 10/27/2016 03:44 AM, Greg Kurz wrote:
> A buggy or malicious guest could pass the id of an already opened fid and
> cause QEMU to abort. Let's return EINVAL to the guest instead.
> 
> Signed-off-by: Greg Kurz <address@hidden>
> ---
>  hw/9pfs/9p.c |   20 ++++++++++++++++----
>  1 file changed, 16 insertions(+), 4 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]