[pgpool-committers: 3473] pgpool: Do not use random() while generating MD5 salt.
Tatsuo Ishii
ishii at postgresql.org
Fri Sep 9 12:01:48 JST 2016
Do not use random() while generating MD5 salt.
random() should not be used in security related applications. To
replace random(), import PostmasterRandom() from PostgreSQL. Also
store current time at the start up of Pgpool-II main process for later
use.
Per Coverity CID 1362583.
Branch
------
V3_1_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=df44622068eca90f976564c45bb7b5537b4470a8
Modified Files
--------------
main.c | 4 ++++
pool_auth.c | 50 +++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 49 insertions(+), 5 deletions(-)
More information about the pgpool-committers
mailing list