pgpool: Fix new defects pointed out by Coverity.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Fix new defects pointed out by Coverity.
Date: 2026-01-07 02:18:06
Message-ID: E1vdJ7e-000Wod-03@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Fix new defects pointed out by Coverity.

This commit fixes two defects pointed out by Coverity.

- CID 1643994: Integer handling issues (OVERFLOW_BEFORE_WIDEN)
- CID 1643995: Null pointer dereferences (REVERSE_INULL)

These were introduced by 53844460f.

Branch
------
master

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

Modified Files
--------------
src/streaming_replication/pool_worker_child.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-01-07 11:35:12 pgpool: Fix to check the return value of malloc().
Previous Message Tatsuo Ishii 2026-01-06 12:58:30 pgpool: Feature: send sync message only to necessary backends.