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

bugzilla at redhat.com bugzilla at redhat.com
Wed Apr 8 08:49:39 UTC 2015


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



--- Comment #585 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10062 committed in master by Venky Shankar
(vshankar at redhat.com) 
------
commit 2a224653df93c4b3a6b3914509f314196ad61008
Author: Michael Adam <obnox at samba.org>
Date:   Tue Mar 31 09:50:44 2015 +0200

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

    Coverity CID 1288819

    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: Ie2d2970f37840146aa18724be3b89e93194c8160
    BUG: 789278
    Signed-off-by: Michael Adam <obnox at samba.org>
    Reviewed-on: http://review.gluster.org/10062
    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