Another kerberos patch - Mailing list pgsql-patches

From Magnus Hagander
Subject Another kerberos patch
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C70D4@algol.sollentuna.se
Whole thread Raw
List pgsql-patches
If a con <<krbhost.patch>> nection is attempted with kerberos 5
authentication without specifying a hostname (using hostaddr), libpq
will crash in the kerberos libraries. Incidentally, this is the kind of
connection string pgAdmin3 uses...
(There is a comment in fe-connect.c that says the hostname has to be set
if we want to use kerberos, but there is no check for it)

Error affects both win32 and unix. It may not always produce a crash,
but it's always incorrect.

Attach patch checks that hostname is specified.

Please apply to both 8.0.X and 8.1.

//Magnus

Attachment

pgsql-patches by date:

Previous
From: Michael Meskes
Date:
Subject: Re: [INTERFACES] libecpg (8.0 and CVS) hits a gcc bug on powerpc and amd64 (crash)
Next
From: Cosimo Streppone
Date:
Subject: pg_autovacuum micro patch to display database name when ANALYZEing or VACUUMing tables