[pgpool-committers: 8820] pgpool: Fix: Setting memory cache size greater than 2GB causes a segfau

Muhammad Usama muhammad.usama at percona.com
Sat Oct 1 05:52:56 JST 2022


Fix: Setting memory cache size greater than 2GB causes a segfault.

The problem was in the block_address() function that returns the memory address
for a given cache block, It was using 32bit integers to calculate the offset of
the block within the shared memory space that is only good until the 2GB limit.

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/query_cache/pool_memqcache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list