[Bugs] [Bug 789278] Issues reported by Coverity static analysis tool
bugzilla at redhat.com
bugzilla at redhat.com
Fri Oct 13 16:23:06 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=789278
--- Comment #1048 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18343 committed in master by Jeff Darcy
(jeff at pl.atyp.us)
------
commit 7bf30b0e371ad1170cd0773fe5db335683428777
Author: Kamal Mohanan <kmohanan at redhat.com>
Date: Fri Sep 22 11:33:47 2017 +0530
xlators/debug/trace: Coverity Fix BUFFER_SIZE in reconfigure
Problem: strncpy was being called with a source string of length
equal to the size argument at lines 3110 and 3114.
Solution: Calculate the size argument from the size of the
destination argument.
Change-Id: I1fed6f8f47c5512b9489bfb3297e7a9911eacbc8
BUG: 789278
Signed-off-by: Kamal Mohanan <kmohanan at redhat.com>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Bugs
mailing list