[pgpool-committers: 4194] 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_6_STABLE

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

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



More information about the pgpool-committers mailing list