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

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 31 08:05:40 UTC 2015


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



--- Comment #507 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9577 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit a2fa3ba3f6b604b9a5b305092226b12e812fcaf1
Author: Nandaja Varma <nvarma at redhat.com>
Date:   Wed Feb 4 14:47:36 2015 +0530

    gluster-cli : Fixing "argument can't be negative" coverity issue.

    Here value of fd can never have a negative value if it is to be
    closed. So changing the check from if (fd) to if (fd >= 0)

    Coverity CIDs:
    1124652
    1124653

    Change-Id: I8491afa93bab10acd2c2e01993a7f7468ca9ff87
    BUG: 789278
    Signed-off-by: Nandaja Varma <nvarma at redhat.com>
    Reviewed-on: http://review.gluster.org/9577
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Vijay Bellur <vbellur at redhat.com>

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


More information about the Bugs mailing list