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

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 14 08:52:51 UTC 2017


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



--- Comment #879 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17024 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit 4c623481986a4697fe7bbb3f553b877d38650422
Author: Niels de Vos <ndevos at redhat.com>
Date:   Mon Apr 10 10:29:15 2017 +0200

    gfapi: prevent off-by-one buffer overrun in glfs_sysrq()

    Coverity found a potential buffer overrun in the strncat() usage for
    logging the help message with glfs_sysrq(). This seems to be an
    off-by-one mistake and should be addressed by reducing the initial size
    of the remainder calculation.

    Change-Id: Ide14add1cb28e5200d2c0df6b3a5154999ef3ca9
    BUG: 789278
    Signed-off-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-on: https://review.gluster.org/17024
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>

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


More information about the Bugs mailing list