From: Christine Caulfield <ccaulfie@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] compare cluster name in cman daemon
Date: Tue, 31 May 2011 08:40:53 +0100 [thread overview]
Message-ID: <4DE49B85.8000806@redhat.com> (raw)
In-Reply-To: <4DE35928.3050203@openvz.org>
On 30/05/11 09:45, Evgeniy Sokolov wrote:
> On 25.05.2011 12:37, Evgeniy Sokolov wrote:
>> On 25.05.2011 12:05, Christine Caulfield wrote:
>>> On 25/05/11 08:23, Evgeniy Sokolov wrote:
>>>> if length of cluster name = 16, last char of msg->clustername will not
>>>> be zero.
>>>> In this case strcmp will continue read member fence_agent from
>>>> cl_transmsg structure.
>>>>
>>>>
>>>
>>> If the length of the cluster name = 16 then there is a bug somewhere
>>> else that needs fixing ;-)
>>>
>>> Chrissie
>>>
>>>
>>
>> Design of cl_transmsg->clustername[16] is string with max length 15 + 1
>> char for zero. Is it correct?
>
> Christine, can you answer the question?
Yes, that's correct.
Chrissie
next prev parent reply other threads:[~2011-05-31 7:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-25 7:23 [Cluster-devel] [PATCH] compare cluster name in cman daemon Evgeniy Sokolov
2011-05-25 8:05 ` Christine Caulfield
2011-05-25 8:37 ` Evgeniy Sokolov
2011-05-30 8:45 ` Evgeniy Sokolov
2011-05-31 7:40 ` Christine Caulfield [this message]
2011-05-30 9:06 ` Dmitry Mishin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DE49B85.8000806@redhat.com \
--to=ccaulfie@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).