[pgpool-committers: 1821] pgpool: Fix uninitialized variable in error case in pool_do_auth().
Muhammad Usama
m.usama at gmail.com
Tue May 6 20:08:06 JST 2014
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
------
EXCEPTION_MGR
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=522ef0b7d5738cc9ca95c4655c70913d5b6790cc
Author: Tatsuo Ishii <ishii at postgresql.org>
Modified Files
--------------
src/auth/pool_auth.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
More information about the pgpool-committers
mailing list