[pgpool-committers: 1452] pgpool: Fix uninitialized variable in error case in pool_do_auth().
Tatsuo Ishii
ishii at postgresql.org
Sun Nov 17 13:50:11 JST 2013
Fix uninitialized variable in error case in pool_do_auth().
If there's no valid backend, pgpool will return garbage pid to
frontend in auth phase. Actually because no backend is available,
frontend will be disconnected later on. So this is not harmless.
Per Coverity report "1127331 Uninitialized scalar variable".
Branch
------
V3_0_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=b59386e81f21ad6c05f07e6bc33b19fb02096dd5
Modified Files
--------------
pool_auth.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
More information about the pgpool-committers
mailing list