Hi,

calling cpg_membership_get() results in a segmentation fault on my
system (latest Fedora 10, latest Corosync SVN). Upon inspecting the
code i noticed that:

 * It assumes that group_name is an input parameter, even if it is not
needed and the man page says it isn't.
 * It only gets a partial response from the executive (the response is
variable width).
 * The executive doesn't initialize the "error" field in the response code

The attached patch resolves these issues.

Regards,
Geert

Attachment: corosync-membership.patch
Description: Binary data

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to