pgpool: Fix possible buffer overrun.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Fix possible buffer overrun.
Date: 2026-11-15 03:49:20
Message-ID: E1xSRF2-0000000BEGV-2Ec3@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Fix possible buffer overrun.

If the cancel key length is negative, a buffer overrun was possible in
authentication.

Per Coverity.

Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.7

Branch
------
master

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

Modified Files
--------------
src/auth/pool_auth.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-11-15 03:49:40 pgpool: Fix possible buffer overrun.
Previous Message Tatsuo Ishii 2026-11-14 11:40:31 pgpool: Fix terminate_all_childrens() to not block in waitpid().