[pgpool-committers: 3090] pgpool: Validating the PCP packet length

Muhammad Usama m.usama at gmail.com
Wed Mar 30 05:46:08 JST 2016


Validating the PCP packet length

Without the validation check, a malformed PCP packet can crash the PCP child
and/or can run the server out of memory by sending the packet with a
very large data size.

Branch
------
V3_4_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=3000e4507e0585b143fd5407992b1649f7baffa2

Modified Files
--------------
src/include/pcp/pcp.h   | 7 ++++++-
src/libs/pcp/pcp.c      | 7 ++++++-
src/pcp_con/pcp_child.c | 9 +++++++--
3 files changed, 19 insertions(+), 4 deletions(-)



More information about the pgpool-committers mailing list