[pgpool-committers: 1389] pgpool: Fix range check bug of MAX_NUM_BACKENDS in corner case.

Tatsuo Ishii ishii at postgresql.org
Wed Nov 6 20:47:04 JST 2013


Fix range check bug of MAX_NUM_BACKENDS in corner case.

MAX_NUM_BACKENDS is the allowed max number of DB nodes (128, at this
point). In reality, probably no one ever tried more than 128 DB nodes
and that's the reason why nobody noticed.

Per Coverity report "1111429, 1111430 and 1111431 Out-of-bounds
write".

Branch
------
V3_0_STABLE

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

Modified Files
--------------
pool_query_context.c |    6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list