agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
From: 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:19 +0000
Message-ID: <E1x6P9H-00000004gHc-1sVV@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_4_STABLE

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

Modified Files
--------------
src/tools/pgproto/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1x6P9H-00000004gHc-1sVV@gothos.postgresql.org>
Permalink:  ../E1x6P9H-00000004gHc-1sVV@gothos.postgresql.org/
Also on:    postgresql.org/message-id/E1x6P9H-00000004gHc-1sVV@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: <E1x6P9H-00000004gHc-1sVV@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