Re: "buffer overflow detected" when running SHOW POOL_STATUS

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: zam6ak(at)gmail(dot)com
Cc: pengbo(at)sraoss(dot)co(dot)jp, pgpool-general(at)lists(dot)postgresql(dot)org
Subject: Re: "buffer overflow detected" when running SHOW POOL_STATUS
Date: 2025-12-03 06:29:44
Message-ID: 20251203.152944.425772962379417344.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-general

>> I found a bug with SHOW POOL_STATUS (and pcp_pool_status). The bug
>> broke the data segment used for the conversion from binary form of
>> backend flag (in this case ALWAYS_PRIMARY. Other flag does not raise
>> the issue) to string representation, which caused the buffer overflow
>> issue.
>>
>> Attached is the patch to fix the issue.
>
> Ishii-san
>
> Thank you for finding the bug and fixing it...
>
> I think this bug warrants a new patch release or a rebuild so we can
> use the latest 4.6 in production...
> Is it possible to release a new RPM build 4.6.4-2 or 4.6.5?

According to our package manager (Peng Bo), she is planning to release
updated4.6.4 RPM for Rocky Linux 10 later this month.

Best regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

In response to

Browse pgpool-general by date

  From Date Subject
Next Message Koshino Taiki 2025-12-09 04:02:22 Pgpool-II 4.7 RC1 released.
Previous Message zam bak 2025-12-02 17:31:46 Re: "buffer overflow detected" when running SHOW POOL_STATUS