Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit869af50

Browse files
committed
Fix long-standing segfault when accept() or one of the calls made right
after accepting a connection fails, and the server is compiled with GSSAPIsupport. Report and patch by Alexander V. Chernikov, bug #5731.
1 parent35d8940 commit869af50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ ConnCreate(int serverFd)
19751975
if (port->sock >=0)
19761976
StreamClose(port->sock);
19771977
ConnFree(port);
1978-
port=NULL;
1978+
returnNULL;
19791979
}
19801980
else
19811981
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp