[pgpool-committers: 4192] 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
------
master

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

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



More information about the pgpool-committers mailing list