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

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 29 07:53:44 UTC 2017


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



--- Comment #1017 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18378 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit 703728dd6f0431ba82821794ca6e9e8b43b35811
Author: Girjesh Rajoria <grajoria at redhat.com>
Date:   Mon Sep 25 14:52:24 2017 +0530

    xlators/protocol/server: Coverity Issue in server_setvolume()

    Issue: Event result_independent_of_operands: "rsp->dict.dict_len >
4294967295U
    /* 2147483647 * 2U + 1U */" is always false regardless of the values of its
    operands. This occurs as the logical operand of "if".

    Fix: removed if block as the if condition is always false and statement
inside
    block never executes.

    Change-Id: Ieaa968d6fbc9477428b4658ef725ace0db9b810a
    BUG: 789278
    Signed-off-by: Girjesh Rajoria <grajoria at redhat.com>

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


More information about the Bugs mailing list