[pgpool-committers: 1543] pgpool: Fix uninitialized variable in error case in pool_do_auth().
Tatsuo Ishii
ishii at postgresql.org
Tue Dec 10 21:45:55 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".
Branches
--------
EXCEPTION_MGR
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=44ec98418f3746dc0cea15e1bd7dfb9e7aaa1e48
Modified Files
--------------
src/auth/pool_auth.c | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
More information about the pgpool-committers
mailing list