HomeClusterLabs Projects

Refactor: libcrmcommon: Ensure log levels are in uint8_t range

Description

Refactor: libcrmcommon: Ensure log levels are in uint8_t range

libqb expects all log levels to be in the uint8_t range (0 to 255).
Several Pacemaker functions and macros currently accept arbitrary
integers and don't validate that they're in-range. This commit fixes
that issue.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Feb 2 2023, 5:48 PM
Parents
rP11c15a89fafa: Merge pull request #2904 from waltdisgrace/t516
Branches
Unknown
Tags
Unknown