[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 26 14:30:44 UTC 2017


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



--- Comment #1056 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18574 committed in master by Atin Mukherjee
(amukherj at redhat.com) 
------
commit 0bb928264a9fb100dc927687eed6ad4d22675950
Author: Michael Scherer <misc at redhat.com>
Date:   Wed Oct 25 14:36:35 2017 +0200

    Make sure attach_brick return a proper error code

    Coverity warn about "Using uninitialized value "ret".", which is
    indeed the case. If we can't attach after 15 tries, attach_brick
    return uninitiliazed return code, which is likely hard to trigger,
    but bad.

    I use -1 to follow the UNIX convetion, but there is no specific error
    code tested by code.

    Change-Id: I43ad60d25ab169f9cea0db600805ced7f77c37ba
    BUG: 789278
    Signed-off-by: Michael Scherer <misc at redhat.com>

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


More information about the Bugs mailing list