diff options
author | Kamal Mohanan <kmohanan@redhat.com> | 2017-09-22 11:33:47 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-10-13 16:23:02 +0000 |
commit | 7bf30b0e371ad1170cd0773fe5db335683428777 (patch) | |
tree | 91670724e736b9636e1795aafdc04d5525b61b28 /tests/basic/gfproxy.t | |
parent | add7116efa1f31e86f9c00c72c71872b1161370f (diff) | |
download | glusterfs-7bf30b0e371ad1170cd0773fe5db335683428777.tar.gz glusterfs-7bf30b0e371ad1170cd0773fe5db335683428777.tar.xz glusterfs-7bf30b0e371ad1170cd0773fe5db335683428777.zip |
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@redhat.com>
Diffstat (limited to 'tests/basic/gfproxy.t')
0 files changed, 0 insertions, 0 deletions