[pgpool-committers: 755] pgpool: Fix child_exit() to not call send_frontend_exits() if there's n

Tatsuo Ishii ishii at postgresql.org
Sat Dec 15 23:01:04 JST 2012


Fix child_exit() to not call send_frontend_exits() if there's no
connection pool, otherwise it segfaults because send_frontend_exits()
referes to objects pointed to by pool_connection_pool.  This could
happen in worker_child while it tries to do s_do_auth() and it calls
pool_read() failed to read backend socket then calls child_exit().
Per bug track #44.

Branch
------
V3_0_STABLE

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

Modified Files
--------------
child.c |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)



More information about the pgpool-committers mailing list