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

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

Modified Files
--------------
src/include/pcp/pcp.h               |  8 +++++++-
src/libs/pcp/pcp.c                  | 10 +++++++++-
src/pcp_con/pcp_worker.c            | 10 +++++++---
src/tools/pcp/pcp_frontend_client.c |  2 +-
4 files changed, 24 insertions(+), 6 deletions(-)



More information about the pgpool-committers mailing list