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

Side by Side Diff: net/third_party/nss/patches/sslsock_903565.patch

Issue 22758002: Fix a crash in SSL under memory pressure (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/nss/patches/applypatches.sh ('k') | net/third_party/nss/ssl/sslsock.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/net/third_party/nss/ssl/sslsock.c b/net/third_party/nss/ssl/sslsock .c
2 index fd71aee..db0da5f 100644
3 --- a/net/third_party/nss/ssl/sslsock.c
4 +++ b/net/third_party/nss/ssl/sslsock.c
5 @@ -3057,6 +3057,7 @@ ssl_NewSocket(PRBool makeLocks, SSLProtocolVariant protoco lVariant)
6 ss->opt.useSocks = PR_FALSE;
7 ss->opt.noLocks = !makeLocks;
8 ss->vrange = *VERSIONS_DEFAULTS(protocolVariant);
9 + ss->protocolVariant = protocolVariant;
10
11 ss->peerID = NULL;
12 ss->rTimeout = PR_INTERVAL_NO_TIMEOUT;
13 @@ -3117,7 +3118,6 @@ loser:
14 PORT_Free(ss);
15 ss = NULL;
16 }
17 - ss->protocolVariant = protocolVariant;
18 }
19 return ss;
20 }
OLDNEW
« no previous file with comments | « net/third_party/nss/patches/applypatches.sh ('k') | net/third_party/nss/ssl/sslsock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698