HomeClusterLabs Projects

Low: crmd: avoid core dump if remote connection doesn't exist

Description

Low: crmd: avoid core dump if remote connection doesn't exist

do_lrm_invoke() calls synthesize_lrmd_failure() with a NULL lrm_state if asked
to perform an operation on a remote node that has never been connected locally.
Previously, this would cause a null dereference in construct_op(). Now,
construct_op() handles the situation reasonably.

Details

Provenance
kgaillotAuthored on Mar 1 2018, 12:05 PM
Parents
rPe88028346c21: Low: crmd: improve lrmd failure handling
Branches
Unknown
Tags
Unknown

Event Timeline