[pgpool-committers: 4193] pgpool: Fix ancient bug of pool_unread.

Tatsuo Ishii ishii at postgresql.org
Tue Aug 15 11:27:27 JST 2017


Fix ancient bug of pool_unread.

When realloc() is called in pool_unread(), it did not update the
buffer size.  This could cause variety of memory corruption and
unexpected data reading from backend. The reason why we did not found
that is, probably recently Pgpool-II starts extensively to use
pool_unread().

Branch
------
V3_2_STABLE

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

Modified Files
--------------
pool_stream.c | 1 +
1 file changed, 1 insertion(+)



More information about the pgpool-committers mailing list