qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V2] Fix parse of usb device description with mul


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH V2] Fix parse of usb device description with multiple configurations
Date: Tue, 13 Dec 2011 14:34:56 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111104 Red Hat/3.1.16-2.el6_1 Thunderbird/3.1.16

On 12/13/11 02:22, address@hidden wrote:
> When testing ipod on QEMU by He Jie Xu<address@hidden>,qemu made a assertion.
> We found that the ipod with 2 configurations,and the usb-linux did not parse 
> the descriptor correctly.
> The descr_len returned is the total length of the all configurations,not one 
> configuration.
> The older version will through the other configurations instead of 
> skip,continue parsing the descriptor of interfaces/endpoints in other 
> configurations,then went wrong.
> 
> This patch will put the configuration descriptor parse in loop outside and 
> dispel the other configurations not requested.

Patch added to usb patch queue.

thanks,
  Gerd



reply via email to

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