[pgpool-committers: 5090] pgpool: Do not update pgpool_passwd if the password length is incorrect
Tatsuo Ishii
ishii at sraoss.co.jp
Mon Aug 27 15:27:53 JST 2018
Do not update pgpool_passwd if the password length is incorrect.
For Pgpool-II 3.7 or before, the password stored in pool_passwd is MD5
password only. So check the correctness of pool_passwd by scanning
entire file.
Patch created by Takuma Hoshiai. Minor error message tweak by me.
See bug425 for more details.
Branch
------
V3_6_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=75feb8c36c174ef95d67feac1eee19739e1a04cb
Modified Files
--------------
src/auth/pool_passwd.c | 34 ++++++++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list