agora inbox for pgpool-committers@postgresql.org  
help / color / mirror / Atom feed
pgpool: Fix pgproto buffer out of range access error.
6+ messages / 1 participants
[nested] [flat]

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_5_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_6_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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_7_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgpool: Fix pgproto buffer out of range access error.
@ 2026-09-15 09:08 Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Tatsuo Ishii @ 2026-09-15 09:08 UTC (permalink / raw)
  To: pgpool-committers@lists.postgresql.org

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
------
master

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2026-09-15 09:08 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>
2026-09-15 09:08 pgpool: Fix pgproto buffer out of range access error. Tatsuo Ishii <ishii@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox