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

Issue 8771012: Fix crash bug in SpdyProxyClientSocket.GetPeerAddress where (Closed)

Created:
9 years ago by Ryan Hamilton
Modified:
9 years ago
Reviewers:
wtc
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix crash bug in SpdyProxyClientSocket.GetPeerAddress where spdy_stream_ was used when NULL. We now copy the peer address and local address from spdy_stream_ when we connect. BUG=106073 TEST=SpdyProxyClientSocket.GetPeerAddressReturnsCorrectValue Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112871

Patch Set 1 : '' #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : Alternate implementation #

Patch Set 4 : Final #

Total comments: 4

Patch Set 5 : Really final, I hope #

Patch Set 6 : Really final, I hope2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -21 lines) Patch
M net/spdy/spdy_proxy_client_socket.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 1 2 3 4 4 chunks +5 lines, -12 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 1 2 3 4 5 chunks +19 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ryan Hamilton
Hi Wan-Teh, Here's small CL that fixes a crash bug I was just informed of ...
9 years ago (2011-12-01 19:56:12 UTC) #1
wtc
LGTM. But I have some questions for you below. http://codereview.chromium.org/8771012/diff/1005/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc (right): http://codereview.chromium.org/8771012/diff/1005/net/spdy/spdy_proxy_client_socket.cc#newcode127 net/spdy/spdy_proxy_client_socket.cc:127: ...
9 years ago (2011-12-01 22:22:15 UTC) #2
Ryan Hamilton
Please take another look. I've changed the implementation to match our discussions. http://codereview.chromium.org/8771012/diff/1005/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc ...
9 years ago (2011-12-02 22:24:13 UTC) #3
wtc
Patch Set 4 LGTM. http://codereview.chromium.org/8771012/diff/10002/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc (right): http://codereview.chromium.org/8771012/diff/10002/net/spdy/spdy_proxy_client_socket.cc#newcode170 net/spdy/spdy_proxy_client_socket.cc:170: Disconnect(); This Disconnect() call may ...
9 years ago (2011-12-02 23:16:40 UTC) #4
Ryan Hamilton
Thanks for the LGTM! http://codereview.chromium.org/8771012/diff/10002/net/spdy/spdy_proxy_client_socket.cc File net/spdy/spdy_proxy_client_socket.cc (right): http://codereview.chromium.org/8771012/diff/10002/net/spdy/spdy_proxy_client_socket.cc#newcode170 net/spdy/spdy_proxy_client_socket.cc:170: Disconnect(); On 2011/12/02 23:16:40, wtc ...
9 years ago (2011-12-02 23:59:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/8771012/13004
9 years ago (2011-12-03 00:01:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/8771012/13004
9 years ago (2011-12-03 03:36:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/8771012/8004
9 years ago (2011-12-03 03:38:29 UTC) #8
commit-bot: I haz the power
9 years ago (2011-12-03 04:54:19 UTC) #9
Change committed as 112871

Powered by Google App Engine
This is Rietveld 408576698