[pgpool-committers: 6675] 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_0_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8701409c4bce29e64a7decdad09d3578aa5c8df5
Modified Files
--------------
src/pcp_con/pcp_worker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list