Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf

From: Martin Pitt <martin(at)piware(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Fwd: Bug#249083: postgresql: Postgres SIGSEGV if wins in nsswitch.conf
Date: 2004-06-07 23:43:43
Message-ID: 20040607234343.GB12284@donald.intranet.fbn-dd.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi again!

On 2004-05-25 15:13 -0400, Tom Lane wrote:
> I said:
> > I would suggest adding more paranoia along these lines:
>
> Actually the correct patch is as per attached. Even without a core
> dump, the original code would not print the token that was really
> causing the problem :-(. Please apply this patch and then tell us
> what you see with winbind.

The submitter of this bug eventually reported back (there was a
problem with his email address) and tested the updated package (with
your patch); unfortunately it seems that the patch did not improve the
output very much :-( He wrote:

----------------------------------------------------
Started by /etc/init.d/postgresql:

2004-06-07 14:24:59 [6455] LOG: authentication file token too long, skipping: "(garbage)"

I piped the garbage through xxd and got:
986e 0241 9131 f840

I ran it again from the command line, as user postgres and got, instead:
98e3 ed40 9101 e340

These garbage strings are repeatable.

In either case, I did get the seg fault.
----------------------------------------------------

Does that say anything to anybody?

Thanks and have a nice day!

Martin

--
Martin Pitt Debian GNU/Linux Developer
martin(at)piware(dot)de mpitt(at)debian(dot)org
http://www.piware.de http://www.debian.org

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Adi Alurkar 2004-06-08 00:01:09 out of memory error
Previous Message Christian van der leeden 2004-06-07 20:38:40 Re: A memory leak. Postgres 7.4. Mac OS. X Server