| pgpool-II 4.6.5 Documentation | |||
|---|---|---|---|
| Prev | Up | Appendix A. Release Notes | Next |
Release Date: 2025-12-15
Use "grep -E" instead of deprecated "egrep" in pgpool_setup. (Bo Peng)
Replace "egrep" with "grep -E" to avoid obsolescence warnings on newer GNU grep versions.
Fix buffer overflow error in show pool_status. (Tatsuo Ishii)
"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.
Problem reported by zam bak and reviewed by Bo Peng.
Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS
Fix memqcache_stats_start_time shown in "show pool_status". (Tatsuo Ishii)
get_config() uses ctime() to generate printable form of memqcache_stats_start_time. But it did not take into account that ctime() adds newline at the end of result. As a result, not only the output of memqcache_stats_start_time was with unnecessary newline but next row printed empty items.
Discussion: Re: "buffer overflow detected" when running SHOW POOL_STATUS