mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
Back-patch fix for password checker's file descriptor leak.
This commit is contained in:
parent
c2d8838cab
commit
5cca0df147
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: password.c,v 1.21 1999/05/25 16:09:00 momjian Exp $
|
||||
* $Id: password.c,v 1.21.2.1 1999/12/01 15:30:46 tgl Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -91,6 +91,8 @@ verify_password(char *auth_arg, char *user, char *password)
|
||||
}
|
||||
}
|
||||
|
||||
FreeFile(pw_file);
|
||||
|
||||
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
|
||||
"verify_password: user '%s' not found in password file.\n",
|
||||
user);
|
||||
|
Loading…
Reference in New Issue
Block a user