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

Re: [Xen-devel] [PATCH v7 03/15] x86/hvm: restrict port numbers and uint16_t and sizes to unsigned int



>>> On 09.07.15 at 18:23, <Paul.Durrant@xxxxxxxxxx> wrote:
> I would have thought that the compiler would point out the overflow if a 
> caller tried to pass >64k in the port number,

That would at best happen when passing literal numbers.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.