segfault caused by heimdal (was: SUSE port)

Поиск
Список
Период
Сортировка
От Reinhard Max
Тема segfault caused by heimdal (was: SUSE port)
Дата
Msg-id Pine.LNX.4.61.0501121915001.23538@wotan.suse.de
обсуждение исходный текст
Ответ на Re: SUSE port (was [ANNOUNCE] PostgreSQL 8.0.0 Release  (Reinhard Max <max@suse.de>)
Ответы Re: segfault caused by heimdal (was: SUSE port)  (Reinhard Max <max@suse.de>)
Re: segfault caused by heimdal (was: SUSE port)  (Kurt Roeckx <Q@ping.be>)
Список pgsql-hackers
On Wed, 12 Jan 2005 at 18:20, Reinhard Max wrote:

> I am still not sure whether the kerberos library, glibc, or 
> PostgreSQL is to blame, or if it's a combination of bugs in these 
> components that triggers the segfault.

The problem is, that the heimdal implementation of kerberos5 used on 
sles8 needs an extra include statement for com_err.h in 
src/interfaces/libpq/fe-auth.c to get the prototype for 
error_message(), while on newer SUSE-releases using the MIT Kerberos5 
implementation this prototype is provided by krb5.h itself.

So I suspect this bug might hit everyone using heimdal, but it only 
gets triggered when one of the calls to kerberos in 
src/interfaces/libpq/fe-auth.c returns with an error.

I am still not sure why the crash only happened on x86_64.

cuReinhard


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Much Ado About COUNT(*)
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Much Ado About COUNT(*)