[Bugs] [Bug 1396327] gluster core dump due to assert failed GF_ASSERT ( brick_index < wordcount);

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 18 02:57:21 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1396327



--- Comment #1 from George <george.lian at nokia.com> ---
suggest fix on function cli_cmd_bricks_parse in cli-cmd-parser.c

        GF_ASSERT (brick_index > 0);
+        if(strcmp(words[brick_index],"force") == 0)
+        {
+               cli_err ("Wrong brick name used.");
+               ret = -1;
+               goto out;
+        }
        GF_ASSERT (brick_index < wordcount);

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list