[pgpool-committers: 2385] 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
------
master

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

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



More information about the pgpool-committers mailing list