Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc732e commit 16d6615Copy full SHA for 16d6615
src/backend/libpq/auth.c
@@ -8,7 +8,7 @@
8
*
9
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.77 2002/03/04 01:46:02 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.78 2002/03/05 06:52:05 momjian Exp $
12
13
*-------------------------------------------------------------------------
14
*/
@@ -805,8 +805,8 @@ recv_and_check_password_packet(Port *port)
805
return STATUS_EOF;
806
}
807
808
- elog(DEBUG5, "received password packet with len=%d, pw=%s",
809
- len, buf.data);
+ /* Do not echo failed password to logs, for security. */
+ elog(DEBUG5, "received password packet");
810
811
result = checkPassword(port, port->user, buf.data);
812
pfree(buf.data);
0 commit comments