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

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 9 06:19:59 UTC 2017


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



--- Comment #1047 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18347 committed in master by Jeff Darcy
(jeff at pl.atyp.us) 
------
commit dc3cd44add80fb56fae2492cb8ad264be04f46fc
Author: Subha sree Mohankumar <smohanku at redhat.com>
Date:   Fri Sep 22 16:13:44 2017 +0530

    xlator/debug :coverity Issue BUFFER_SIZE

    Issue :Calling strncpy with a source string whose length (2 chars)
    is greater than or equal to the size argument (2) will fail to
    null-terminate "trace_fop_names[i].name".

    Solution : The size argument is obtained from
    sizeof(trace_fop_names[i].name).

    Change-Id: I99fad2693054f3af84d78da34c61258233d3049a
    BUG: 789278
    Signed-off-by: Subha sree Mohankumar <smohanku at redhat.com>

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


More information about the Bugs mailing list