qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] usb: xhci: fix info leak when writing event to


From: Li Qiang
Subject: Re: [Qemu-devel] [PATCH] usb: xhci: fix info leak when writing event to the guest
Date: Wed, 14 Jun 2017 14:36:35 +0800

2017-06-14 14:30 GMT+08:00 Gerd Hoffmann <address@hidden>:

> On Tue, 2017-06-13 at 20:39 -0700, Li Qiang wrote:
> > From: Li Qiang <address@hidden>
> >
> > In 'xhci_write_event' function, the 'ev_trb' is not full initialized.
> > This will lead an info leak issue. This patch avoid this.
>
> I don't think so.  Note that only the first 16 bytes (TRB_SIZE) and not
> the whole struct is copied to guest memory.
>
>
Agree. Not notice the 'TRB_SIZE'.

Thanks.


> cheers,
>   Gerd
>
>


reply via email to

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