summaryrefslogtreecommitdiffstats
path: root/xlators/debug/trace/src/trace-mem-types.h
diff options
context:
space:
mode:
authorKamal Mohanan <kmohanan@redhat.com>2017-09-22 11:33:47 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-10-13 16:23:02 +0000
commit7bf30b0e371ad1170cd0773fe5db335683428777 (patch)
tree91670724e736b9636e1795aafdc04d5525b61b28 /xlators/debug/trace/src/trace-mem-types.h
parentadd7116efa1f31e86f9c00c72c71872b1161370f (diff)
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 'xlators/debug/trace/src/trace-mem-types.h')
0 files changed, 0 insertions, 0 deletions