Skip site navigation (1) Skip section navigation (2)

Re: libpq crash fix [was: Provide a way to not ask for a password in psql]

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: libpq crash fix [was: Provide a way to not ask for a password in psql]
Date: 2007-10-09 15:04:49
Message-ID: 20071009150449.GS3093@svr2.hagander.net (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
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

In response to

pgsql-bugs by date

Next:From: blay blooDate: 2007-10-09 15:30:06
Subject: plpythonu execute - create function bug?
Previous:From: Martin PittDate: 2007-10-09 14:32:02
Subject: libpq crash fix [was: Provide a way to not ask for a password inpsql]

pgsql-patches by date

Next:From: Andrew DunstanDate: 2007-10-09 15:22:50
Subject: Re: Including Snapshot Info with Indexes
Previous:From: Martin PittDate: 2007-10-09 14:32:02
Subject: libpq crash fix [was: Provide a way to not ask for a password inpsql]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group