From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Mishin Date: Mon, 30 May 2011 13:06:37 +0400 Subject: [Cluster-devel] [PATCH] compare cluster name in cman daemon In-Reply-To: <4DDCB831.9050808@redhat.com> References: <4DDCAE8B.2000401@openvz.org> <4DDCB831.9050808@redhat.com> Message-ID: <201105301306.37281.dim@parallels.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit For example, in user's mind or in incoming parameters parsing, do you mean this? Where does this limitation come from? On Wednesday 25 May 2011 12:05: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 -- Thanks, Dmitry.