[pgpool-committers: 3920] 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
------
V3_4_STABLE

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

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



More information about the pgpool-committers mailing list