[pgpool-committers: 3918] pgpool: Fix for [pgpool-general: 5396] pam ldap failure

Muhammad Usama m.usama at gmail.com
Sat Apr 1 00:27:20 JST 2017


Fix for [pgpool-general: 5396] pam ldap failure

Do not use Palloc and friends to allocate memory for pam_response in the
PAM conversation function, Since that memory is freed by PAM library who
knows nothing about our MemoryManager and can cause the segmentation fault.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3fa4d7eba7f0924ebec35353bf322649893cf103

Modified Files
--------------
src/auth/pool_hba.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list