HomeClusterLabs Projects

Fix: libcrmcommon: Handle no digits in crm_int_helper.

Description

Fix: libcrmcommon: Handle no digits in crm_int_helper.

If the string provided to crm_int_helper contains no digits, return -1
to indicate an error. Previously, there was no way to detect this
condition.

Details

Provenance
clumensAuthored on Jul 24 2019, 2:46 PM
Parents
rP4a05de652b2d: Fix: libcrmcommon: Allow glib cmdline parsing without formatted output.
Branches
Unknown
Tags
Unknown

Event Timeline