OSDN Git Service

Reject tabs and linefeeds in usernames and passwords that are being
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Nov 2001 18:09:58 +0000 (18:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Nov 2001 18:09:58 +0000 (18:09 +0000)
commit7663e6bb70dd61dadd244cb9d58e23e5d05fb042
tree5aa306b8ce305e6c38d38fc2a3972d3677583110
parentbdea97ea9589945a53e453e8159623b566d612b6
Reject tabs and linefeeds in usernames and passwords that are being
stored in pg_pwd, to guard against failures of the sort observed by
Tom Yackel.  Note: in the case of encrypted passwords this is no
restriction, since the string we are interested in is the MD5 hash.
src/backend/commands/user.c