summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2017-09-22 18:17:03 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-10-03 13:28:01 +0000
commitfe5fc91ab9b74b525d4979e09ce13766b3180381 (patch)
tree2550ac16b91273276dd8d063f45a3343e29ad7a9 /xlators/debug/io-stats
parentfaf5939307cafe262ee2135621e1d3e173087e06 (diff)
glusterd/snapshot: Buffer Size Warning
new_brickinfo->mnt_opts is allocated memory using calloc. So it is already zeroed out at allocation. we need not to add null character at the end. we pass one less than maximum size to the strncpy to make sure that destination string is terminated. Change-Id: I463dddd2171fb39a509bb75ffcc074d5b1cf7d62 BUG: 789278 Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/debug/io-stats')
0 files changed, 0 insertions, 0 deletions