[pgpool-committers: 8527] pgpool: Fix shared memory allocation function.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Apr 6 16:38:02 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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=a9e163047eba9dae6b8c8ed8da5dc3bba8aa2f16
Modified Files
--------------
src/utils/pool_shmem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
More information about the pgpool-committers
mailing list