[pgpool-committers: 5089] pgpool: Do not update pgpool_passwd if the password length is incorrect

Tatsuo Ishii ishii at sraoss.co.jp
Mon Aug 27 15:27:34 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_7_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=7e9c385cd5a13e748e985f35d3d8b5c67655cc64

Modified Files
--------------
src/auth/pool_passwd.c | 34 ++++++++++++++++++++++++++++++++--
1 file changed, 32 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list