HomeClusterLabs Projects
Diffusion SBD 22ff1625591b

Fix: sbd-inquisitor: prevent segfault if no command is supplied

Description

Fix: sbd-inquisitor: prevent segfault if no command is supplied

It was introduced by cc46bb4. References of argv[optind] should be
after the check of optind against argc.

Details

Provenance
gao-yanAuthored on Mar 4 2021, 2:27 PM
Parents
rS488a5b93bbe5: Merge pull request #125 from gao-yan/timeout_watchdog_warn
Branches
Unknown
Tags
Unknown

Event Timeline