]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/librbd/fsx.cc: fix BUFFER_SIZE_WARNING
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 5 May 2015 12:29:14 +0000 (14:29 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 1 Jun 2015 04:59:26 +0000 (06:59 +0200)
commit0a45a7a19e304a578ddb52f18e071bfa0e8adaae
tree9e65eb0addd0d10f2512b5285cfe101991626465
parentbbeb37fc4df2baeb77f027de86f53e4f017867e7
test/librbd/fsx.cc: fix BUFFER_SIZE_WARNING

CID 1296375 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)
 buffer_size_warning: Calling strncpy with a maximum size argument of
 1024 bytes on destination array logfile of size 1024 bytes might leave
 the destination string unterminated.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/test/librbd/fsx.cc