pgpool: Fix assorted bugs in pgproto.

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

Fix assorted bugs in pgproto.

- It was possible to call close(2) for an invalid file descriptor.

- It was possible to refer to NULL pointer in connect_v2().

Per Coverity (CID 1690392 and 1690394).

Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: master only

Branch
------
master

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

Modified Files
--------------
src/tools/pgproto/main.c | 5 +++--
1 file changed, 3 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().