Re: [BUGS] libpq crash fix [was: Provide a way to not ask for a password in psql]
Re: [BUGS] libpq crash fix [was: Provide a way to not ask for a password in psql]
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Tue, Oct 09, 2007 at 04:32:02PM +0200, Martin Pitt wrote: > Hi again, > > Martin Pitt [2007-10-09 15:56 +0200]: > > (2) PGPASSFILE=/dev/null psql -l > > > > With /dev/null I get a segfault (I'll probably send a patch for > > that later). > > Ah, it tried to free(pgpassfile) in PasswordFromFile(), but that is a > local stack variable. > > Can you please apply this upstream? Applied back to 8.1 which is where it appeared. //Magnus