agora inbox for pgpool-committers@postgresql.orghelp / color / mirror / Atom feed
pgpool: Fix buffer overflow error in show pool_status. 6+ messages / 1 participants [nested] [flat]
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:13 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:13 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.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=1cf828165f2c69a8bfb1d05debf91650170fb... Modified Files -------------- src/config/pool_config.l | 4 ++-- src/config/pool_config_variables.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:13 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:13 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.jp> 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(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:17 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:17 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org Backpatch-through: v4.3 Branch ------ V4_6_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8deccc15e2b2a3bc06973e4a01501bf221cbc... Modified Files -------------- src/config/pool_config.l | 4 ++-- src/config/pool_config_variables.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:26 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:26 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org Backpatch-through: v4.3 Branch ------ V4_5_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=a44409cb42f2aaf5ef7450bdb6de5db3e8e7a... Modified Files -------------- src/config/pool_config.l | 4 ++-- src/config/pool_config_variables.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:30 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:30 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org Backpatch-through: v4.3 Branch ------ V4_4_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=8337221c31e6342cde67bb9caffc72522a07a... Modified Files -------------- src/config/pool_config.l | 4 ++-- src/config/pool_config_variables.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgpool: Fix buffer overflow error in show pool_status. @ 2025-12-08 02:31 Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 0 replies; 6+ messages in thread From: Bo Peng @ 2025-12-08 02:31 UTC (permalink / raw) To: pgpool-committers@lists.postgresql.org 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@postgresql.org> Reported-by: zam bak <zam6ak@gmail.com> Reviewed-by: Bo Peng <pengbo@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/20251202.140205.427777414210613577.ishii%40postgresql.org Backpatch-through: v4.3 Branch ------ V4_3_STABLE Details ------- https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=7e7accfb638c591fc11adf37f82ee90798970... Modified Files -------------- src/config/pool_config.l | 4 ++-- src/config/pool_config_variables.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2025-12-08 02:31 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-12-08 02:13 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp> 2025-12-08 02:13 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp> 2025-12-08 02:17 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp> 2025-12-08 02:26 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp> 2025-12-08 02:30 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp> 2025-12-08 02:31 pgpool: Fix buffer overflow error in show pool_status. Bo Peng <pengbo@sraoss.co.jp>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox