OSDN Git Service

My patch to fe-connect.c introduced a new bug which is triggered only, if
authorMarc G. Fournier <scrappy@hub.org>
Sat, 27 Jul 1996 02:27:55 +0000 (02:27 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 27 Jul 1996 02:27:55 +0000 (02:27 +0000)
commitc13ef1afed3c5c4d63909b817cc2975b0937c5b1
tree496fb005208e978e6face28dba9a07d1669c8b9b
parent1a675fe5b2a4d1b990ce8fa4dd64367bb0abdea4
My patch to fe-connect.c introduced a new bug which is triggered only, if
Kerberos is being used (attempt to free static memory).
The error was caused by a confusing doublespeak of fe_getauthname():
Returns a pointer to static memory, if you authenticate via Kerberos,
a pointer to dynamic memory otherwise.

Submitted by: Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
src/interfaces/libpq/fe-auth.c