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

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 6 06:33:24 UTC 2015


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



--- Comment #572 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10061 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit 90f72efed8313efe0410634677f36d0fbdc5eab4
Author: Michael Adam <obnox at samba.org>
Date:   Tue Mar 31 09:41:10 2015 +0200

    features/changelog: fix possible illegal memory access (CID 1288821)

    Coverity CID 1288821

    strncpy executed with a limit equal to the target array
    size potentially leaves the target string not null terminated.
    Make sure the copied string is a valid 0 terminated string.

    Change-Id: I5ecc60549864cf50e3facbb8a2d9228cd67b57b5
    BUG: 789278
    Signed-off-by: Michael Adam <obnox at samba.org>
    Reviewed-on: http://review.gluster.org/10061
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Reviewed-by: Venky Shankar <vshankar at redhat.com>
    Tested-by: Venky Shankar <vshankar at redhat.com>

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


More information about the Bugs mailing list