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