pgpool: Fix pgproto buffer out of range access error.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Fix pgproto buffer out of range access error.
Date: 2026-09-15 09:08:29
Message-ID: E1x6P9Q-00000004gK7-3AGN@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

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(at)postgresql(dot)org>
Backpatch-through: v4.3

Branch
------
V4_6_STABLE

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

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

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-09-15 09:08:33 pgpool: Fix pgproto buffer out of range access error.
Previous Message Tatsuo Ishii 2026-09-15 09:08:24 pgpool: Fix pgproto buffer out of range access error.