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

bugzilla at redhat.com bugzilla at redhat.com
Sat Apr 18 12:18:18 UTC 2015


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



--- Comment #626 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10247 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit fc451b5b0fb8d7b3952ca6ecf91779cbcf00187f
Author: Michael Adam <obnox at samba.org>
Date:   Wed Apr 15 09:15:23 2015 +0200

    gfapi: fix potential non-0-terminated string (CID 1134002)

    Use correct target buffer length for strncpy and make
    sure that the target string is 0 terminated.

    Fixes Coverity ID 1134002.

    Change-Id: I97a74a94a818eb08a711e547f2ac6ae46087f065
    BUG: 789278
    Signed-off-by: Michael Adam <obnox at samba.org>
    Reviewed-on: http://review.gluster.org/10247
    Tested-by: NetBSD Build System
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Kotresh HR <khiremat at redhat.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

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


More information about the Bugs mailing list