[pgpool-committers: 754] 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_2_STABLE

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

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



More information about the pgpool-committers mailing list