DescriptionFix transfer length validation in Usb Api.
This change limits the length parameter of Usb transfers to 0-100 MB.
It introduces a new error for invalid transfer lengths.
It also correctly ignores 'data' parameter if transfer 'direction'
equals 'in', and ignores transfer 'length' parameter if 'direction'
is 'out'.
BUG=169972, 169981
TEST=browser_tests: UsbApiTest.InvalidLengthTransfer
TBR=gdk@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177857
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 6 (0 generated)
|