[pgpool-committers: 5267] pgpool: Fix for 0000419: pg_md5: -m removes users
Muhammad Usama
m.usama at gmail.com
Tue Oct 30 22:13:29 JST 2018
Fix for 0000419: pg_md5: -m removes users
The problem was in pool_create_passwdent() which was expecting the password
string will always have the same length. This is not true anymore after the
support for AES and TEXT type passwords, So inlace updating of pool_passwd is
not an option anymore.
The fix is to use the memory buffer to compile the pool_passwd file and rewrite
it completely.
The patch was provided by Takuma Hoshiai <hoshiai at sraoss.co.jp>
and modified by me.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=c78cb93e5337c825e463c3c6cfd418bcf0eccb31
Modified Files
--------------
src/auth/pool_passwd.c | 92 ++++++++++++++++++++++--------------------
src/include/auth/pool_passwd.h | 1 +
2 files changed, 49 insertions(+), 44 deletions(-)
More information about the pgpool-committers
mailing list