[pgpool-committers: 1453] 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_1_STABLE
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=913b0f4e557830109dea21bbefb04582bcd83499
Modified Files
--------------
pool_auth.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
More information about the pgpool-committers
mailing list