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

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

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