[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.

Branch
------
V3_4_STABLE

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

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



More information about the pgpool-committers mailing list