[Bugs] [Bug 1424815] New: Fix erronous comparaison of flags resulting in UUID always sent
bugzilla at redhat.com
bugzilla at redhat.com
Sun Feb 19 16:01:34 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1424815
Bug ID: 1424815
Summary: Fix erronous comparaison of flags resulting in UUID
always sent
Product: GlusterFS
Version: mainline
Component: core
Assignee: bugs at gluster.org
Reporter: misc at zarb.org
CC: bugs at gluster.org
Description of problem:
Covertyscan show a warning regarding
xlators/mgmt/glusterd/src/glusterd-handshake.c, where the code is always
sending uuid, because a test using '|' with a constant, rather than '&'.
Version-Release number of selected component (if applicable):
git head
How reproducible:
each time
Steps to Reproduce:
1.look at
https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-02-17-8e7a8ea8/html/1/98glusterd-handshake.c.html#error
2.
3.
Actual results:
there is a '|' that do not make sense.
Expected results:
it should likely be a '&', or the code should be removed. (the if)
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