[pgpool-committers: 1454] 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_3_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=ab0dbbe128d664882edb27f2263b306a1c248822

Modified Files
--------------
pool_auth.c |   15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)



More information about the pgpool-committers mailing list