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

Issue 258833005: [WebSocket] Fix a crash caused by a pending empty frame. (Closed)

Created:
6 years, 8 months ago by yhirano
Modified:
6 years, 7 months ago
Reviewers:
Adam Rice
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[WebSocket] Fix a crash caused by a pending empty frame. This CL fixes the process that sends pending frames when a WebSocketChannel receives quota from the renderer process. The IOBuffer data of a frame can be null, but the implementation didn't take account of that. BUG=364788 R=ricea@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266513

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M net/websockets/websocket_channel.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M net/websockets/websocket_channel_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
yhirano
6 years, 8 months ago (2014-04-28 04:24:11 UTC) #1
Adam Rice
https://codereview.chromium.org/258833005/diff/40001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/258833005/diff/40001/net/websockets/websocket_channel.cc#newcode412 net/websockets/websocket_channel.cc:412: const std::vector<char> data_vector(data, data + bytes_to_send); It would be ...
6 years, 8 months ago (2014-04-28 04:30:07 UTC) #2
yhirano
https://codereview.chromium.org/258833005/diff/40001/net/websockets/websocket_channel.cc File net/websockets/websocket_channel.cc (right): https://codereview.chromium.org/258833005/diff/40001/net/websockets/websocket_channel.cc#newcode412 net/websockets/websocket_channel.cc:412: const std::vector<char> data_vector(data, data + bytes_to_send); On 2014/04/28 04:30:08, ...
6 years, 8 months ago (2014-04-28 04:38:16 UTC) #3
Adam Rice
lgtm
6 years, 8 months ago (2014-04-28 05:14:17 UTC) #4
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 8 months ago (2014-04-28 05:21:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/258833005/60001
6 years, 8 months ago (2014-04-28 05:23:20 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 12:10:48 UTC) #7
Message was sent while issue was closed.
Change committed as 266513

Powered by Google App Engine
This is Rietveld 408576698