[pgpool-committers: 10419] pgpool: Fix json_writer did not properly encode special characters.

Bo Peng pengbo at sraoss.co.jp
Thu May 1 16:16:52 JST 2025


Fix json_writer did not properly encode special characters.

Pgpool would crash when the watchdog was enabled if wd_authkey contained special characters (e.g., a backslash).

The patch was originally created by Martijn van Duren and revised by Bo Peng.

Branch
------
V4_5_STABLE

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

Modified Files
--------------
src/utils/json_writer.c | 44 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list