Home GnuPG

core: Fix gpgrt_wait_processes, by skipping invalid PID.

Description

core: Fix gpgrt_wait_processes, by skipping invalid PID.

* src/spawn-posix.c (_gpgrt_wait_processes): Skip invalid PID.

The API itself is not good to handle multiple processes. Given the
API, skipping invalid PID is better for usefulness.

  • GnuPG-bug-id: T5381
  • Reported-by: Jakub Jelen <jjelen@redhat.com>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 8 2021, 3:58 AM
Parents
rE89a353f418f5: build: Fix gpgrt-config for handling 'Requires' field.
Branches
Unknown
Tags
Unknown
Tasks
T5381: libgpg-error coverity static analysis reports