readHandshake calls sendAlertLocked (no lock) from handlePostHandshakeMessage (TLS 1.3). \ Concurrent Write goroutine holds c.out.Lock(). \ Both call writeRecordLocked -> encrypt -> xorNonceAEAD.Seal simultaneously. \ Data race on nonce state.
readHandshake calls sendAlertLocked (no lock) from handlePostHandshakeMessage (TLS 1.3).
Concurrent Write goroutine holds c.out.Lock().
Both call writeRecordLocked -> encrypt -> xorNonceAEAD.Seal simultaneously.
Data race on nonce state.