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

Commit4dd158e

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 parent6319c35 commit4dd158e

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
@@ -1974,7 +1974,7 @@ ConnCreate(int serverFd)
19741974
if (port->sock >=0)
19751975
StreamClose(port->sock);
19761976
ConnFree(port);
1977-
port=NULL;
1977+
returnNULL;
19781978
}
19791979
else
19801980
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp