chore: note for bugrisk

Signed-off-by: Gaukas Wang <i@gaukas.wang>
This commit is contained in:
Gaukas Wang 2024-07-16 02:37:10 -06:00
parent 258eeafc94
commit dd2ffe0d6e
No known key found for this signature in database
GPG key ID: 9E2F8986D76F8B5D

View file

@ -223,7 +223,7 @@ func (s *sessionController) shouldUpdateBinders() bool {
func (s *sessionController) updateBinders() {
uAssert(s.shouldUpdateBinders(), "tls: updateBinders failed: shouldn't update binders")
s.pskExtension.PatchBuiltHello(s.uconnRef.HandshakeState.Hello)
s.pskExtension.PatchBuiltHello(s.uconnRef.HandshakeState.Hello) // bugrisk: retured error is ignored
}
func (s *sessionController) overrideExtension(extension Initializable, override func(), initializedState sessionControllerState) error {