Skip to content

Commit

Permalink
chore: note for bugrisk
Browse files Browse the repository at this point in the history
Signed-off-by: Gaukas Wang <i@gaukas.wang>
  • Loading branch information
gaukas committed Jul 16, 2024
1 parent 258eeaf commit dd2ffe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion u_session_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit dd2ffe0

Please sign in to comment.