[sheepdog] [PATCH] sheep: fix a little bug of is_master() in corosync.c

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Sep 27 10:18:50 CEST 2012


At Wed, 26 Sep 2012 22:19:48 +0900,
Hitoshi Mitake wrote:
> 
> Current is_master() in sheep/cluster/corosync.c has a possibility of
> reading array with invalid index. This patch fix the little bug.
> 
> Signed-off-by: Hitoshi Mitake <h.mitake at gmail.com>
> ---
>  sheep/cluster/corosync.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list