Back-patch fix for password checker's file descriptor leak.

REL6_5_PATCHES
Tom Lane 26 years ago
parent c2d8838cab
commit 5cca0df147
  1. 4
      src/backend/libpq/password.c

@ -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…
Cancel
Save