[pgpool-committers: 4190] 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_5_STABLE

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

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



More information about the pgpool-committers mailing list