qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] usb: fix up post load checks


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH] usb: fix up post load checks
Date: Tue, 13 May 2014 09:50:09 +0200

  Hi,

> +        (dev->setup_state == SETUP_STATE_DATA &&

Fails to build, SETUP_STATE_DATA is not defined here.

I think we can simply drop that check, index should never ever be larger
than len, no matter what the state is.

cheers,
  Gerd





reply via email to

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