agora inbox for pgpool-committers@postgresql.org
help / color / mirror / Atom feedFrom: Tatsuo Ishii <ishii@postgresql.org>
To: pgpool-committers@lists.postgresql.org
Subject: pgpool: Fix pgproto buffer out of range access error.
Date: Tue, 15 Sep 2026 09:08:15 +0000
Message-ID: <E1x6P9C-00000004gGI-348p@gothos.postgresql.org> (raw)
Fix pgproto buffer out of range access error.
ASAN detected pgproto's buffer out of range access error. When it
tried to detect the continuation line (backslash + line feed), it
unconditionally access read buffer without checking the read length.
Fix is, adding buffer length check before accessing the buffer.
Author: Tatsuo Ishii <ishii@postgresql.org>
Backpatch-through: v4.3
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=0fd4dc799a57e7f39c8551d60bebe92f093ff...
Modified Files
--------------
src/tools/pgproto/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
view thread (6+ messages) latest in thread
Message-ID: <E1x6P9C-00000004gGI-348p@gothos.postgresql.org>
Permalink: ../E1x6P9C-00000004gGI-348p@gothos.postgresql.org/
Also on: postgresql.org/message-id/E1x6P9C-00000004gGI-348p@gothos.postgresql.org
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgpool-committers@postgresql.org
Cc: ishii@postgresql.org, pgpool-committers@lists.postgresql.org
Subject: Re: pgpool: Fix pgproto buffer out of range access error.
In-Reply-To: <E1x6P9C-00000004gGI-348p@gothos.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox