HomeClusterLabs Projects

Fix: crmd: check for errors when searching for CIB daemon's load file

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix: crmd: check for errors when searching for CIB daemon's load file

find_cib_loadfile() returns NULL if cib is being run via valgrind. Previously,
this value was not checked (ironically, triggering a valgrind warning about
unaddressable bytes).

This revision checks the result for NULL, and additionally optimizes the
function to iterate through /proc a bit faster.

Details

Provenance
kgaillotAuthored on Jul 10 2015, 4:32 PM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.