From: | "Magnus Hagander" <mha(at)sollentuna(dot)net> |
---|---|
To: | "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Another kerberos patch |
Date: | 2005-03-18 10:06:25 |
Message-ID: | 6BCB9D8A16AC4241919521715F4D8BCE6C70D4@algol.sollentuna.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
krbhost.patch | application/octet-stream | 523 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Cosimo Streppone | 2005-03-18 11:40:53 | pg_autovacuum micro patch to display database name when ANALYZEing or VACUUMing tables |
Previous Message | Michael Meskes | 2005-03-18 10:01:51 | Re: [INTERFACES] libecpg (8.0 and CVS) hits a gcc bug on powerpc and amd64 (crash) |