[pgpool-committers: 8818] 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_2_STABLE

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

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



More information about the pgpool-committers mailing list