Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Issue 10823081: Resize control transfer buffers so users don't have to. (Closed)

Created:
8 years, 4 months ago by Garret Kelly
Modified:
8 years, 4 months ago
Reviewers:
bryeung
CC:
chromium-reviews
Visibility:
Public.

Description

Resize control transfer buffers so users don't have to. The USB control transfer function assumed that a user would appropriately size their buffer in order to be able to contain the control transfer header. This has proved to be unnecessary, and this patch reallocates the transfer buffer with enough room for the control transfer setup. BUG=136812 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149278

Patch Set 1 #

Patch Set 2 : Fixing order bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M chrome/browser/usb/usb_device.cc View 1 1 chunk +8 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Garret Kelly
8 years, 4 months ago (2012-07-30 15:53:55 UTC) #1
bryeung
lgtm
8 years, 4 months ago (2012-07-30 16:03:44 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gdk@chromium.org/10823081/4001
8 years, 4 months ago (2012-07-31 20:02:05 UTC) #3
commit-bot: I haz the power
8 years, 4 months ago (2012-07-31 21:24:12 UTC) #4
Change committed as 149278

Powered by Google App Engine
This is Rietveld 408576698