| From: | Bo Peng <pengbo(at)sraoss(dot)co(dot)jp> |
|---|---|
| To: | pgpool-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgpool: Fix buffer overflow error in show pool_status. |
| Date: | 2025-12-08 02:13:05 |
| Message-ID: | E1vSQkK-005f4u-33@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-committers |
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 <ishii(at)postgresql(dot)org>
Reported-by: zam bak <zam6ak(at)gmail(dot)com>
Reviewed-by: Bo Peng <pengbo(at)sraoss(dot)co(dot)jp>
Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org
Backpatch-through: v4.3
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=1cf828165f2c69a8bfb1d05debf91650170fb9e1
Modified Files
--------------
src/config/pool_config.l | 4 ++--
src/config/pool_config_variables.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bo Peng | 2025-12-08 02:13:42 | pgpool: Fix buffer overflow error in show pool_status. |
| Previous Message | Taiki Koshino | 2025-12-05 03:07:06 | pgpool: Prepare RC1. |