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

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

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



More information about the pgpool-committers mailing list