LGTM https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c File lib/ssl/sslsock.c (right): https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c#newcode3402 lib/ssl/sslsock.c:3402: PR_INIT_CLIST(&ss->ssl3.hs.cipherSpecs); Do we still need this is ssl3_InitState()
7 years, 11 months ago
(2016-05-03 21:11:40 UTC)
#1
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c File lib/ssl/sslsock.c (right): https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c#newcode3402 lib/ssl/sslsock.c:3402: PR_INIT_CLIST(&ss->ssl3.hs.cipherSpecs); On 2016/05/23 17:22:56, wtc1 wrote: > On 2016/05/03 ...
7 years, 11 months ago
(2016-05-23 20:02:01 UTC)
#4
Message was sent while issue was closed.
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c
File lib/ssl/sslsock.c (right):
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c#newcode3402
lib/ssl/sslsock.c:3402: PR_INIT_CLIST(&ss->ssl3.hs.cipherSpecs);
On 2016/05/23 17:22:56, wtc1 wrote:
> On 2016/05/03 21:11:40, ekr-webrtc wrote:
> > Do we still need this is ssl3_InitState()
>
> Tim, could you answer Eric's question? It seems
> that we may initialize these circular lists
> redundantly in some cases, but it is safer to not
> modify ssl3_InitState().
I'm not sure whether we still need this in ssl3_InitState() or not. I added it
to ssl_NewSocket() based on |remoteKeyShares| which seems very similar and
probably should be initialized and destroyed in the same spots.
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c File lib/ssl/sslsock.c (right): https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c#newcode3402 lib/ssl/sslsock.c:3402: PR_INIT_CLIST(&ss->ssl3.hs.cipherSpecs); On 2016/05/23 20:02:00, ttaubert wrote: > On 2016/05/23 ...
7 years, 11 months ago
(2016-05-23 20:22:43 UTC)
#5
Message was sent while issue was closed.
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c
File lib/ssl/sslsock.c (right):
https://codereview.appspot.com/293350043/diff/1/lib/ssl/sslsock.c#newcode3402
lib/ssl/sslsock.c:3402: PR_INIT_CLIST(&ss->ssl3.hs.cipherSpecs);
On 2016/05/23 20:02:00, ttaubert wrote:
> On 2016/05/23 17:22:56, wtc1 wrote:
> > Tim, could you answer Eric's question? It seems
> > that we may initialize these circular lists
> > redundantly in some cases, but it is safer to not
> > modify ssl3_InitState().
>
> I'm not sure whether we still need this in ssl3_InitState() or not. I added it
> to ssl_NewSocket() based on |remoteKeyShares| which seems very similar and
> probably should be initialized and destroyed in the same spots.
In that case, I think that we can safely remove the redundant init for both
fields in ssl3_InitState().
Issue 293350043: Bug 1168425 - Reenable NSS_STRICT_SHUTDOWN and leak checking for gtests
(Closed)
Created 7 years, 11 months ago by ttaubert
Modified 7 years, 11 months ago
Reviewers: mt, ekr, ekr-rietveld, wtc1
Base URL:
Comments: 4