HomeClusterLabs Projects

Refactor: libstonithd: Avoid snprintf() in stonith__action_create()

Description

Refactor: libstonithd: Avoid snprintf() in stonith__action_create()

To avoid the need to error-check snprintf() explicitly, which we have
not been doing. This also avoids imposing an arbitrary (albeit
reasonable) limit of 512 characters on action name length. Pacemaker
technically supports arbitrary action names.

Ref T974

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

Details

Provenance
nrwahl2Authored on Mon, Jun 23, 4:22 AM
Parents
rP6af9ad6cefa1: Refactor: libcrmcommon: Avoid snprintf() in crm_log_filter()
Branches
Unknown
Tags
Unknown
Tasks
T974: Error-check snprintf() calls