HomeClusterLabs Projects

Refactor: tools: update_dataset() passes nulls to pcmk__schedule_actions
fb015b1c5b19Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Refactor: tools: update_dataset() passes nulls to pcmk__schedule_actions

Previously we were passing scheduler->input as the CIB argument, which
should be a no-op. And we were already explicitly setting the
pcmk__sched_no_counts flag.

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, 4:24 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.