HomeClusterLabs Projects

Low: libcrmcommon: improve error-checking when parsing integers from XML

Description

Low: libcrmcommon: improve error-checking when parsing integers from XML

Previously, crm_element_value_int() directly used the long long integer value
of crm_int_helper() as in integer, with no error checking. Now, it uses
crm_parse_int() (which does bounds checking, etc.) and checks errno for errors.

Details

Provenance
kgaillotAuthored on Sep 13 2019, 2:14 PM
Parents
rP5fe89bd183f5: Low: CIB: formally deprecate last-run in operation history XML
Branches
Unknown
Tags
Unknown

Event Timeline