diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-09-07 11:39:39 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-09-12 06:25:31 +0000 |
commit | 65db3e596e456e11f524160261bf87a9ebe9fa00 (patch) | |
tree | 93eb1a2376c40136650000faae31b8a77a19af66 /rfc.sh | |
parent | 763eb83dcbaf6a319fc2346fc696ab079e425ee3 (diff) |
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 'rfc.sh')
0 files changed, 0 insertions, 0 deletions