You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Retrieve the TLSWrap from the SSL object, not SSL_CTX.
A SSL_CTX object is the parent of zero or more SSL objects. TLSWrap is a
wrapper around SSL, SecureContext around SSL_CTX.
Node.js normally uses a SecureContext per TLSWrap but it is possible to
use a SecureContext object more than once.
It was therefore possible for an ALPN callback to use the wrong
(possibly already freed) TLSWrap object.
Having said that, while the bug is clear once you see it, I'm not able
to trigger it (and hence no test, not for lack of trying.)
None of the bug reporters were able to reliably reproduce it either so
the stars probably need to align just right in order to hit it.
Fixes: #47207
PR-URL: #49635
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
0 commit comments