Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx> --- exec/cfg.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/exec/cfg.c b/exec/cfg.c index d730d02..7597bdf 100644 --- a/exec/cfg.c +++ b/exec/cfg.c @@ -553,6 +553,8 @@ static void message_handler_req_lib_cfg_ringstatusget ( &status, &iface_count); + assert(iface_count <= CFG_MAX_INTERFACES); + res_lib_cfg_ringstatusget.interface_count = iface_count; for (i = 0; i < iface_count; i++) { -- 1.7.1 _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss