[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: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] usb: xhci: fix info leak when writing event to the guest |
Date: |
Wed, 14 Jun 2017 08:30:05 +0200 |
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.
cheers,
Gerd