[Bugs] [Bug 1447826] New: potential endless loop in function glusterfs_graph_validate_options
bugzilla at redhat.com
bugzilla at redhat.com
Thu May 4 01:08:25 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1447826
Bug ID: 1447826
Summary: potential endless loop in function
glusterfs_graph_validate_options
Product: GlusterFS
Version: mainline
Component: core
Assignee: bugs at gluster.org
Reporter: johnzzpcrystal at gmail.com
CC: bugs at gluster.org
Description of problem:
while (trav) {
if (list_empty (&trav->volume_options))
continue; //if get here, will going to be endless loop
ret = xlator_options_validate (trav, trav->options, &errstr);
if (ret) {
gf_msg (trav->name, GF_LOG_ERROR, 0,
LG_MSG_VALIDATION_FAILED, "validation failed: "
"%s", errstr);
return ret;
}
trav = trav->next;
}
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--
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