public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bo Peng <[email protected]>
To: [email protected]
Subject: pgpool: Fix buffer overflow error in show pool_status.
Date: Mon, 08 Dec 2025 02:13:42 +0000
Message-ID: <[email protected]> (raw)

Fix buffer overflow error in show pool_status.

"show pool_status", "pgpool show" and pcp_pool_status could cause a
buffer overflow error. If backend_flag is set to "ALWAYS_PRIMARY",
pool_flag_to_str(), which is responsible to produce printable format
of backend_flag, wrote data past to the end of static buffer.

Author: Tatsuo Ishii <[email protected]>
Reported-by: zam bak <[email protected]>
Reviewed-by: Bo Peng <[email protected]>
Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org
Backpatch-through: v4.3

Branch
------
V4_7_STABLE

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

Modified Files
--------------
src/config/pool_config.l           | 4 ++--
src/config/pool_config_variables.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgpool: Fix buffer overflow error in show pool_status.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox