[pgpool-committers: 8822] 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_0_STABLE

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

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



More information about the pgpool-committers mailing list