AntiPattern

Unchecked Pointer and State

unchecked-pointer-state-lifetime

TLS handshake and certificate validation code dereferences or uses internal state without validating lifetime and type invariants; NULL pointers, wrong union member access, or use-after-free during key derivation can corrupt memory or break session-resumption security guarantees.