[pgpool-committers: 6679] pgpool: Fix for segmentation fault in PCP processor: Bug 598
Muhammad Usama
m.usama at gmail.com
Thu Apr 16 19:19:09 JST 2020
Fix for segmentation fault in PCP processor: Bug 598
The crash was caused by an unconditionally pfree on buf without verifyingif it
was actually allocated or not. And freeing the but was not actually required at
the first places since the associated MemoryContext always gets resets anyway
after each loop iteration.
reference: https://www.pgpool.net/mantisbt/view.php?id=598
Branch
------
V4_1_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=75432c06bda37ff9c15e3e586624e21218a0a40c
Modified Files
--------------
src/pcp_con/pcp_worker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list