HomeClusterLabs Projects

Refactor: libpacemaker: Set input and flags explicitly in pcmk__verify()

Description

Refactor: libpacemaker: Set input and flags explicitly in pcmk__verify()

pcmk__schedule_actions() has a use-after-free bug if its cib argument is
the same as the current scheduler->input (or if it's an ancestor or
descendant). This is another step toward dropping that argument.

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

Details

Provenance
nrwahl2Authored on Jan 25 2025, 3:43 AM
Parents
rP767c55fcc288: Refactor: libpacemaker: Pass NULL input in pcmk__simulate()
Branches
Unknown
Tags
Unknown