[pgpool-committers: 5091] pgpool: Do not update pgpool_passwd if the password length is incorrect
Tatsuo Ishii
ishii at sraoss.co.jp
Mon Aug 27 15:28:06 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_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=afb0617434b0590a64e93ccd603f4c26a10dfc6c
Modified Files
--------------
src/auth/pool_passwd.c | 34 ++++++++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list