qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] usb: drop unnecessary usb_device_post_load chec


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] usb: drop unnecessary usb_device_post_load checks
Date: Tue, 8 Jan 2019 12:38:58 +0100
User-agent: NeoMutt/20180716

On Mon, Jan 07, 2019 at 05:51:40PM +0000, Jonathan Davies wrote:
> In usb_device_post_load, certain values of dev->setup_len or
> dev->setup_index can cause -EINVAL to be returned. One example is when
> setup_len exceeds 4096, the hard-coded value of sizeof(dev->data_buf).
> This can happen through legitimate guest activity and will cause all
> subsequent attempts to migrate the guest to fail in vmstate_load_state.

Added to usb queue.

thanks,
  Gerd




reply via email to

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