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

Issue 10534117: Fix NetLog thread safety issue (Closed)

Created:
8 years, 6 months ago by mmenke
Modified:
8 years, 6 months ago
Reviewers:
eroman, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Fix NetLog thread safety issue introduced in http://codereview.chromium.org/10539094/. We weren't holding on to a reference for an x509Certificate passed to another thread for logging. BUG=126243 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141812

Patch Set 1 #

Patch Set 2 : Fix stuff #

Patch Set 3 : Update text #

Total comments: 2

Patch Set 4 : Revert, swtich to const ref #

Total comments: 1

Patch Set 5 : Remove constref #

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

Messages

Total messages: 11 (0 generated)
mmenke
8 years, 6 months ago (2012-06-12 20:06:08 UTC) #1
Ryan Sleevi
The only one that doesn't need base::Unretained() is SSLClientSocketNSS. So this change adds additional AddRef/Release's ...
8 years, 6 months ago (2012-06-12 20:22:09 UTC) #2
mmenke
Switched to just keeping a const ref where it's needed. I'd switched all instances to ...
8 years, 6 months ago (2012-06-12 20:37:32 UTC) #3
Ryan Sleevi
nack. http://codereview.chromium.org/10534117/diff/4018/net/socket/ssl_client_socket_nss.cc File net/socket/ssl_client_socket_nss.cc (right): http://codereview.chromium.org/10534117/diff/4018/net/socket/ssl_client_socket_nss.cc#newcode2536 net/socket/ssl_client_socket_nss.cc:2536: base::ConstRef(nss_handshake_state_.server_cert)); This is still wrong. ConstRefWrapper stores a ...
8 years, 6 months ago (2012-06-12 21:33:26 UTC) #4
mmenke
On 2012/06/12 21:33:26, Ryan Sleevi wrote: > nack. > > http://codereview.chromium.org/10534117/diff/4018/net/socket/ssl_client_socket_nss.cc > File net/socket/ssl_client_socket_nss.cc (right): ...
8 years, 6 months ago (2012-06-12 21:39:27 UTC) #5
mmenke
On 2012/06/12 21:39:27, Matt Menke wrote: > On 2012/06/12 21:33:26, Ryan Sleevi wrote: > > ...
8 years, 6 months ago (2012-06-12 21:45:27 UTC) #6
Ryan Sleevi
On 2012/06/12 21:39:27, Matt Menke wrote: > On 2012/06/12 21:33:26, Ryan Sleevi wrote: > > ...
8 years, 6 months ago (2012-06-12 21:56:17 UTC) #7
mmenke
On 2012/06/12 21:56:17, Ryan Sleevi wrote: > On 2012/06/12 21:39:27, Matt Menke wrote: > > ...
8 years, 6 months ago (2012-06-12 22:21:37 UTC) #8
Ryan Sleevi
On 2012/06/12 22:21:37, Matt Menke wrote: > callback.h does not seem to say it refcounts ...
8 years, 6 months ago (2012-06-12 22:31:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/10534117/5003
8 years, 6 months ago (2012-06-12 22:56:53 UTC) #10
commit-bot: I haz the power
8 years, 6 months ago (2012-06-13 00:46:42 UTC) #11
Change committed as 141812

Powered by Google App Engine
This is Rietveld 408576698