Re: user authentication crash by Erik Luke (20-08-2001; 1.3kb)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Yackel" <yackelt(at)ohsu(dot)edu>
Cc: eluke(at)cs(dot)montana(dot)edu, justin(at)postgresql(dot)org, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: user authentication crash by Erik Luke (20-08-2001; 1.3kb)
Date: 2001-11-01 18:37:30
Message-ID: 22885.1004639850@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

"Thomas Yackel" <yackelt(at)ohsu(dot)edu> writes:
> I was quite surprised that such a small input error could cause the
> backend to shutdown. Should psql remove [CR]s that are contained
> within ''? (at least for this command)?

I have committed changes that forbid linefeeds and tabs within passwords
and usernames. This should be sufficient to prevent the pg_pwd parser
from becoming confused.

regards, tom lane

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-11-01 18:45:05 Re: Union View Optimization
Previous Message Bruno Wolff III 2001-11-01 17:24:13 Referential integrity checking issue

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-01 18:45:05 Re: Union View Optimization
Previous Message Tom Lane 2001-11-01 18:22:06 Password-file caching is broken