summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-xml-output.c
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2018-09-07 11:39:39 +0530
committergluster-ant <bugzilla-bot@gluster.org>2018-09-07 11:39:39 +0530
commit532780c18efb6591a74c13424b572203948dd558 (patch)
tree93eb1a2376c40136650000faae31b8a77a19af66 /cli/src/cli-xml-output.c
parent86eaf5cfa5f1f3056641c701f6952c5721933693 (diff)
downloadglusterfs-532780c18efb6591a74c13424b572203948dd558.tar.gz
glusterfs-532780c18efb6591a74c13424b572203948dd558.tar.xz
glusterfs-532780c18efb6591a74c13424b572203948dd558.zip
dht: Use snprintf instead of strncpy
The recent changes to use malloc instead of calloc left the new_name and new_path non-null terminated. We now use snprintf instead of strncpy to fix this. Change-Id: I1a31701ca9447efde38921be0ba2c73cde2e7976 fixes: bz#1626346 Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'cli/src/cli-xml-output.c')
0 files changed, 0 insertions, 0 deletions