[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V4 5/7] xl: add pvusb commands
On 06/12/2015 10:03 AM, Chun Yan Liu wrote: On 6/12/2015 at 03:37 PM, in message <557A8C57.1040108@xxxxxxxx>, Juergen Gross<jgross@xxxxxxxx> wrote:On 06/10/2015 05:20 AM, Chunyan Liu wrote: ... + } else if (MATCH_OPTION("ports", argv[optind], oparg)) { + usbctrl.ports = atoi(oparg);Same here for number of ports. Otherwise you could blow up xenstore by e.g. specifying 2 billion ports here.Will add check. What's the supported max ports? 31. I'm about to send a patch updating the pvusb interface description which will then contain a define for that (USBIF_MAX_PORTNR). Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |