Re: [Spice-devel] [PATCH usbredir v2] usbredirserver: reject empty vendorid in cmd line

2017-11-28 Thread Chen Hanxiao
At 2017-11-28 19:38:10, "Frediano Ziglio" wrote: >> >> From: Chen Hanxiao >> >> Vendor ID is not a valid ID [1] >> But we could pass it from cmd: >> usbredirserver :abcd >> Which will cause a vendor id. >> Also check the range of them. >> >> This patch will check this senario. >>

Re: [Spice-devel] [PATCH usbredir v2] usbredirserver: reject empty vendorid in cmd line

2017-11-28 Thread Frediano Ziglio
> > From: Chen Hanxiao > > Vendor ID is not a valid ID [1] > But we could pass it from cmd: > usbredirserver :abcd > Which will cause a vendor id. > Also check the range of them. > > This patch will check this senario. > > [1]: http://www.linux-usb.org/usb.ids > > Signed-off-by: C

[Spice-devel] [PATCH usbredir v2] usbredirserver: reject empty vendorid in cmd line

2017-11-28 Thread Chen Hanxiao
From: Chen Hanxiao Vendor ID is not a valid ID [1] But we could pass it from cmd: usbredirserver :abcd Which will cause a vendor id. Also check the range of them. This patch will check this senario. [1]: http://www.linux-usb.org/usb.ids Signed-off-by: Chen Hanxiao --- v2: add ra