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.
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>

atris/gpdb,yuanzhao/gpdb,xinzweb/gpdb,adam8157/gpdb,jmcatamney/gpdb,rvs/gpdb,chrishajas/gpdb,Quikling/gpdb,tpostgres-projects/tPostgres,janebeckman/gpdb,edespino/gpdb,snaga/postgres-xl,lisakowen/gpdb,greenplum-db/gpdb,adam8157/gpdb,Quikling/gpdb,cjcjameson/gpdb,yuanzhao/gpdb,0x0FFF/gpdb,oberstet/postgres-xl,chrishajas/gpdb,Postgres-XL/Postgres-XL,Chibin/gpdb,edespino/gpdb,tpostgres-projects/tPostgres,greenplum-db/gpdb,edespino/gpdb,0x0FFF/gpdb,ovr/postgres-xl,jmcatamney/gpdb,yazun/postgres-xl,chrishajas/gpdb,randomtask1155/gpdb,Quikling/gpdb,lpetrov-pivotal/gpdb,zeroae/postgres-xl,royc1/gpdb,adam8157/gpdb,arcivanov/postgres-xl,CraigHarris/gpdb,kmjungersen/PostgresXL,postmind-net/postgres-xl,royc1/gpdb,techdragon/Postgres-XL,lpetrov-pivotal/gpdb,arcivanov/postgres-xl,yazun/postgres-xl,Postgres-XL/Postgres-XL,0x0FFF/gpdb,chrishajas/gpdb,0x0FFF/gpdb,yuanzhao/gpdb,techdragon/Postgres-XL,cjcjameson/gpdb,xinzweb/gpdb,adam8157/gpdb,xuegang/gpdb,greenplum-db/gpdb,50wu/gpdb,kaknikhil/gpdb,janebeckman/gpdb,atris/gpdb,ahachete/gpdb,techdragon/Postgres-XL,rvs/gpdb,0x0FFF/gpdb,ashwinstar/gpdb,Quikling/gpdb,50wu/gpdb,50wu/gpdb,ahachete/gpdb,CraigHarris/gpdb,Postgres-XL/Postgres-XL,zeroae/postgres-xl,greenplum-db/gpdb,techdragon/Postgres-XL,zaksoup/gpdb,yuanzhao/gpdb,50wu/gpdb,Chibin/gpdb,tpostgres-projects/tPostgres,yuanzhao/gpdb,cjcjameson/gpdb,royc1/gpdb,atris/gpdb,yuanzhao/gpdb,arcivanov/postgres-xl,foyzur/gpdb,rubikloud/gpdb,yazun/postgres-xl,kaknikhil/gpdb,xuegang/gpdb,lisakowen/gpdb,Chibin/gpdb,ashwinstar/gpdb,adam8157/gpdb,rubikloud/gpdb,snaga/postgres-xl,CraigHarris/gpdb,royc1/gpdb,adam8157/gpdb,kmjungersen/PostgresXL,rubikloud/gpdb,xuegang/gpdb,janebeckman/gpdb,0x0FFF/gpdb,foyzur/gpdb,oberstet/postgres-xl,janebeckman/gpdb,ovr/postgres-xl,lintzc/gpdb,jmcatamney/gpdb,tpostgres-projects/tPostgres,royc1/gpdb,Chibin/gpdb,rvs/gpdb,tpostgres-projects/tPostgres,Chibin/gpdb,foyzur/gpdb,50wu/gpdb,edespino/gpdb,rubikloud/gpdb,foyzur/gpdb,edespino/gpdb,lintzc/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,snaga/postgres-xl,adam8157/gpdb,lintzc/gpdb,foyzur/gpdb,cjcjameson/gpdb,lpetrov-pivotal/gpdb,Postgres-XL/Postgres-XL,janebeckman/gpdb,Chibin/gpdb,xuegang/gpdb,foyzur/gpdb,postmind-net/postgres-xl,xuegang/gpdb,kaknikhil/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,chrishajas/gpdb,tangp3/gpdb,kaknikhil/gpdb,tangp3/gpdb,0x0FFF/gpdb,rubikloud/gpdb,jmcatamney/gpdb,Postgres-XL/Postgres-XL,edespino/gpdb,xinzweb/gpdb,kaknikhil/gpdb,Chibin/gpdb,Chibin/gpdb,lintzc/gpdb,oberstet/postgres-xl,cjcjameson/gpdb,50wu/gpdb,ahachete/gpdb,lintzc/gpdb,yuanzhao/gpdb,kmjungersen/PostgresXL,lintzc/gpdb,yuanzhao/gpdb,kmjungersen/PostgresXL,jmcatamney/gpdb,lisakowen/gpdb,randomtask1155/gpdb,greenplum-db/gpdb,yazun/postgres-xl,zaksoup/gpdb,rvs/gpdb,randomtask1155/gpdb,CraigHarris/gpdb,rubikloud/gpdb,adam8157/gpdb,foyzur/gpdb,lisakowen/gpdb,greenplum-db/gpdb,lintzc/gpdb,janebeckman/gpdb,cjcjameson/gpdb,tangp3/gpdb,cjcjameson/gpdb,ovr/postgres-xl,Quikling/gpdb,CraigHarris/gpdb,ahachete/gpdb,lisakowen/gpdb,tangp3/gpdb,randomtask1155/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,lintzc/gpdb,pavanvd/postgres-xl,50wu/gpdb,pavanvd/postgres-xl,oberstet/postgres-xl,lpetrov-pivotal/gpdb,kmjungersen/PostgresXL,xuegang/gpdb,chrishajas/gpdb,rubikloud/gpdb,arcivanov/postgres-xl,oberstet/postgres-xl,zaksoup/gpdb,kaknikhil/gpdb,xinzweb/gpdb,xuegang/gpdb,jmcatamney/gpdb,greenplum-db/gpdb,xinzweb/gpdb,janebeckman/gpdb,lintzc/gpdb,zaksoup/gpdb,rvs/gpdb,ashwinstar/gpdb,rubikloud/gpdb,snaga/postgres-xl,lisakowen/gpdb,randomtask1155/gpdb,Quikling/gpdb,ahachete/gpdb,randomtask1155/gpdb,Quikling/gpdb,Quikling/gpdb,ashwinstar/gpdb,CraigHarris/gpdb,lisakowen/gpdb,lpetrov-pivotal/gpdb,Quikling/gpdb,foyzur/gpdb,royc1/gpdb,lpetrov-pivotal/gpdb,tangp3/gpdb,ovr/postgres-xl,zaksoup/gpdb,royc1/gpdb,zaksoup/gpdb,ahachete/gpdb,xinzweb/gpdb,atris/gpdb,xinzweb/gpdb,CraigHarris/gpdb,zeroae/postgres-xl,randomtask1155/gpdb,kaknikhil/gpdb,edespino/gpdb,pavanvd/postgres-xl,rvs/gpdb,arcivanov/postgres-xl,tangp3/gpdb,ahachete/gpdb,lisakowen/gpdb,ovr/postgres-xl,greenplum-db/gpdb,ashwinstar/gpdb,janebeckman/gpdb,atris/gpdb,arcivanov/postgres-xl,atris/gpdb,jmcatamney/gpdb,janebeckman/gpdb,kaknikhil/gpdb,zeroae/postgres-xl,royc1/gpdb,kaknikhil/gpdb,chrishajas/gpdb,rvs/gpdb,tangp3/gpdb,ahachete/gpdb,zeroae/postgres-xl,xuegang/gpdb,snaga/postgres-xl,xinzweb/gpdb,zaksoup/gpdb,atris/gpdb,techdragon/Postgres-XL,tangp3/gpdb,cjcjameson/gpdb,0x0FFF/gpdb,chrishajas/gpdb,xuegang/gpdb,pavanvd/postgres-xl,edespino/gpdb,zaksoup/gpdb,cjcjameson/gpdb,postmind-net/postgres-xl,Quikling/gpdb,pavanvd/postgres-xl,yuanzhao/gpdb,postmind-net/postgres-xl,janebeckman/gpdb,rvs/gpdb,Chibin/gpdb,postmind-net/postgres-xl,randomtask1155/gpdb,rvs/gpdb,edespino/gpdb,Chibin/gpdb,lpetrov-pivotal/gpdb,yazun/postgres-xl,yuanzhao/gpdb,CraigHarris/gpdb,ashwinstar/gpdb,rvs/gpdb,atris/gpdb,cjcjameson/gpdb,edespino/gpdb