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
Guard usage with null check to prevent possible NPE during finalization. (#12434)
Motivation:
We need to add a null check to ensure we not throw a NPE if the finalizer of ReferenceCountedOpenSslEngine runs because of an OOME before we assign the field.
Modifications:
- Add null check
- Assign fields first
Result:
No more NPE in finalizer possible
0 commit comments