Commit 869af50f authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix long-standing segfault when accept() or one of the calls made right

after accepting a connection fails, and the server is compiled with GSSAPI
support. Report and patch by Alexander V. Chernikov, bug #5731.
parent 35d89401
......@@ -1975,7 +1975,7 @@ ConnCreate(int serverFd)
if (port->sock >= 0)
StreamClose(port->sock);
ConnFree(port);
port = NULL;
return NULL;
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment