[pgpool-committers: 2384] pgpool: Fix for [pgpool-general: 3377] Segmentation fault

Muhammad Usama m.usama at gmail.com
Wed Dec 31 21:21:00 JST 2014

Fix for [pgpool-general: 3377] Segmentation fault

The segmentation fault was occurring because of double freeing of the frontend
connection in child process error cleanup. Fixed by passing a double pointer to
frontend connection in backend_cleanup() function, so that assigning NULL to it
should become visible to caller.



Modified Files
src/protocol/child.c |   17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)

More information about the pgpool-committers mailing list