]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/filestore: always always add `\0' after strncpy() 28289/head
authorKefu Chai <kchai@redhat.com>
Wed, 29 May 2019 09:48:21 +0000 (17:48 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 29 May 2019 09:49:44 +0000 (17:49 +0800)
commitf434b61dbe4c282e76f56704c9aad3af5b0b1f07
treed3cbb86c2a318be7c19263043f84406b64424a22
parentae466a0089fb4802751e5c9c5d79aa29426ace91
os/filestore: always always add `\0' after strncpy()

see also f35fa1c58cf24275458cb83097c57bdfd1184cf8

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/filestore/BtrfsFileStoreBackend.cc