From eee03adc1b4ed1545da059613c4cff12b14d6306 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Mon, 22 May 2023 09:03:35 -0600 Subject: fix panic on bad finger requests --- finger/serve.go | 1 + 1 file changed, 1 insertion(+) diff --git a/finger/serve.go b/finger/serve.go index 1bc69b8..6456763 100644 --- a/finger/serve.go +++ b/finger/serve.go @@ -45,6 +45,7 @@ func (fs *fingerServer) handleConn(conn net.Conn) { request, err := ParseRequest(conn) if err != nil { _, _ = fmt.Fprint(conn, err.Error()+"\r\n") + return } request.Server = fs -- cgit v1.2.3