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

Issue 24216005: NSS: fix session cache lock initialisation. (Closed)

Created:
7 years, 3 months ago by agl
Modified:
7 years, 3 months ago
Reviewers:
wtc, Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, Ryan Sleevi
Visibility:
Public.

Description

NSS: fix session cache lock initialisation. This code previously used an unprotected global, that was accessed from multiple threads, to guard whether global locks had been created. See bug for details. BUG=292999 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224311

Patch Set 1 #

Total comments: 20

Patch Set 2 : Addressing wtc's comments. #

Total comments: 2

Patch Set 3 : Add reference to Bugzilla bug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+305 lines, -108 lines) Patch
M net/third_party/nss/README.chromium View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/third_party/nss/patches/applypatches.sh View 1 1 chunk +2 lines, -0 lines 0 comments Download
A net/third_party/nss/patches/cachelocks.patch View 1 1 chunk +246 lines, -0 lines 0 comments Download
M net/third_party/nss/ssl/ssl3con.c View 1 2 chunks +1 line, -2 lines 0 comments Download
M net/third_party/nss/ssl/sslimpl.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M net/third_party/nss/ssl/sslnonce.c View 1 2 chunks +48 lines, -100 lines 0 comments Download
M net/third_party/nss/ssl/sslsnce.c View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
agl
(I've not included the patch file in this change yet.) wtc: this changes the code ...
7 years, 3 months ago (2013-09-18 23:24:57 UTC) #1
Ryan Sleevi
https://codereview.chromium.org/24216005/diff/1/net/third_party/nss/ssl/sslnonce.c File net/third_party/nss/ssl/sslnonce.c (right): https://codereview.chromium.org/24216005/diff/1/net/third_party/nss/ssl/sslnonce.c#newcode61 net/third_party/nss/ssl/sslnonce.c:61: memset(&lockOnce, 0, sizeof(lockOnce)); Normal NSS style is to keep ...
7 years, 3 months ago (2013-09-19 01:14:13 UTC) #2
wtc
agl: thank you for writing this CL. I found the CL I wrote for this ...
7 years, 3 months ago (2013-09-19 01:19:57 UTC) #3
wtc
Patch set 1 LGTM. After comparing your CL with mine, I think it's better to ...
7 years, 3 months ago (2013-09-19 04:37:51 UTC) #4
agl
https://codereview.chromium.org/24216005/diff/1/net/third_party/nss/ssl/ssl3con.c File net/third_party/nss/ssl/ssl3con.c (right): https://codereview.chromium.org/24216005/diff/1/net/third_party/nss/ssl/ssl3con.c#newcode5596 net/third_party/nss/ssl/ssl3con.c:5596: ssl_FreeSessionCacheLocks(); On 2013/09/19 04:37:51, wtc wrote: > > I ...
7 years, 3 months ago (2013-09-19 17:40:51 UTC) #5
wtc
Patch set 2 LGTM. Nice cleanup in sslnonce.c! https://codereview.chromium.org/24216005/diff/10001/net/third_party/nss/README.chromium File net/third_party/nss/README.chromium (right): https://codereview.chromium.org/24216005/diff/10001/net/third_party/nss/README.chromium#newcode119 net/third_party/nss/README.chromium:119: * ...
7 years, 3 months ago (2013-09-19 19:23:53 UTC) #6
agl
https://codereview.chromium.org/24216005/diff/10001/net/third_party/nss/README.chromium File net/third_party/nss/README.chromium (right): https://codereview.chromium.org/24216005/diff/10001/net/third_party/nss/README.chromium#newcode119 net/third_party/nss/README.chromium:119: * Fix session cache lock creation race. On 2013/09/19 ...
7 years, 3 months ago (2013-09-19 19:26:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agl@chromium.org/24216005/23001
7 years, 3 months ago (2013-09-19 19:27:24 UTC) #8
commit-bot: I haz the power
7 years, 3 months ago (2013-09-20 06:47:10 UTC) #9
Message was sent while issue was closed.
Change committed as 224311

Powered by Google App Engine
This is Rietveld 408576698