DescriptionAdd validation to length, packets and packet_length parameters
of the Usb Api. Parameter limits are determined from the following:
packets: 4MB from http://msdn.microsoft.com/en-us/library/windows/hardware/ff538112(v=vs.85).aspx
packet_length: 65k since wMaxPacketSize is 16bit integer: http://msdn.microsoft.com/en-us/library/ee437177.aspx
BUG=169765
R=gdk@chromium.org,miket@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182128
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 13 (0 generated)
|