[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 05:35:51 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1396327
Atin Mukherjee <amukherj at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |george.lian at nokia.com
Flags| |needinfo?(george.lian at nokia
| |.com)
--- Comment #4 from Atin Mukherjee <amukherj at redhat.com> ---
(In reply to George from comment #1)
> 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);
Why wouldn't it work? I just sent a patch and tested the same?
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=wwi7QEXnc9&a=cc_unsubscribe
More information about the Bugs
mailing list