Skip to content

Commit

Permalink
Merge pull request #2 from emmanuelvlad/master
Browse files Browse the repository at this point in the history
prevent SIGSEGV
  • Loading branch information
robinbraemer authored Nov 30, 2024
2 parents 7dff20a + dd2acf2 commit bb555b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (s *Server) HandleConn(c net.Conn) error {
}
err = s.VoteHandler(v, V1)
continue
} else {
} else if record.TokenProvider != nil {
err = v.DecodeV2(data[:read], record.TokenProvider, challenge)
if err != nil {
continue
Expand Down

0 comments on commit bb555b8

Please sign in to comment.