[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Fri Sep 29 16:31:31 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #1026 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18339 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit 306164fb4121e814b61e9b5685319f889f6b7547
Author: Mohammed Azhar Padariyakam <mpadariy at redhat.com>
Date: Thu Sep 21 18:12:59 2017 +0530
libglusterfs: Coverity Fix CONSTANT_EXPRESSION_RESULT in gf_string2int64
Issue : "l <= 9223372036854775807L" is always true regardless of the values
of its operands. This occurs as the logical operand of "if".
Solution : Remove the comparison which always turns out to be true
Fix : The if-condition was removed and the body inside the same was
retained.
Change-Id: Iba94d7f4f2dee85a180d10cdb7f7235b406cc400
BUG: 789278
Signed-off-by: Mohammed Azhar Padariyakam <mpadariy at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list