[pgpool-committers: 8821] 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_3_STABLE

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

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



More information about the pgpool-committers mailing list