mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Back-patch fix for password checker's file descriptor leak.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* 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,
|
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
|
||||||
"verify_password: user '%s' not found in password file.\n",
|
"verify_password: user '%s' not found in password file.\n",
|
||||||
user);
|
user);
|
||||||
|
Reference in New Issue
Block a user