HomeClusterLabs Projects

Fix: libcib: Return NULL if any of the cib_*_new functions fail.

Description

Fix: libcib: Return NULL if any of the cib_*_new functions fail.

This is preferable to either calling CRM_ASSERT (as one function did) or
just dereferencing a NULL pointer (as all the other functions did).

Details

Provenance
clumensAuthored on Aug 19 2021, 9:39 AM
Parents
rP826a39d2ebf5: Refactor: tools: create_dotfile should return a standard Pacemaker return code.
Branches
Unknown
Tags
Unknown

Event Timeline