[pgpool-committers: 8526] pgpool: Fix shared memory allocation function.

Tatsuo Ishii ishii at sraoss.co.jp
Wed Apr 6 16:37:57 JST 2022


Fix shared memory allocation function.

pool_shared_memory_segment_get_chunk() which is responsible for shared
memory allocation, failed to consider request size alignment. If
requeste size is not in MAXALIGN (typically 8) bytes, it could overrun
the shared memory area. Probably harmless in the wild but better to
fix.

Branch
------
V4_3_STABLE

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

Modified Files
--------------
src/utils/pool_shmem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list