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

bugzilla at redhat.com bugzilla at redhat.com
Mon May 8 13:14:24 UTC 2017


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



--- Comment #898 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17193 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit 27b04b6c487e789074eb10c93be0f7d4f58fa945
Author: Michael Scherer <misc at redhat.com>
Date:   Fri May 5 16:01:36 2017 +0200

    Fix 'flush' type, coverity warning

    As getchar returna a int, (which is 4 bytes on most
    common platforms, and at least 2 bytes), and char being often
    1 byte, the conversion would lose information, hence
    the warning.

    Change-Id: I5b0b39c636ff49ef5c15d51a7f798e21635eca06
    BUG: 789278
    Signed-off-by: Michael Scherer <misc at redhat.com>
    Reviewed-on: https://review.gluster.org/17193
    Tested-by: Michael Scherer <misc at fedoraproject.org>
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Prashanth Pai <ppai at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Zhou Zhengping <johnzzpcrystal at gmail.com>
    Reviewed-by: Jeff Darcy <jeff at pl.atyp.us>

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


More information about the Bugs mailing list