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