[pgpool-committers: 5950] pgpool: Fix segfaut in streaming replication check process.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Aug 6 11:30:05 JST 2019


Fix segfaut in streaming replication check process.

In case of failure of pg_stat_replication() call, the streaming
replication check process unconditionally tried to free the allocated
memory.  This should only be done when the call succeeds.

Branch
------
master

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

Modified Files
--------------
src/streaming_replication/pool_worker_child.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list