CVSROOT:        /cvs/cluster
Module name:    cluster
Changes by:     [EMAIL PROTECTED]       2007-09-18 15:34:41

Modified files:
        cman/lib       : libcman.c 

Log message:
        check quorum device name length against the right size.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/lib/libcman.c.diff?cvsroot=cluster&r1=1.36&r2=1.37

--- cluster/cman/lib/libcman.c  2007/08/28 13:14:10     1.36
+++ cluster/cman/lib/libcman.c  2007/09/18 15:34:41     1.37
@@ -1010,7 +1010,7 @@
        char buf[strlen(name)+1 + sizeof(int)];
        VALIDATE_HANDLE(h);
 
-       if (strlen(name) > MAX_CLUSTER_NAME_LEN)
+       if (strlen(name) > MAX_CLUSTER_MEMBER_NAME_LEN)
        {
                errno = EINVAL;
                return -1;

Reply via email to