]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librbd/test_librbd.cc: fix OVERRUN
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 23 Feb 2016 08:31:04 +0000 (09:31 +0100)
committerSage Weil <sage@redhat.com>
Wed, 9 Nov 2016 19:44:57 +0000 (14:44 -0500)
commit92d4a39fd5b8c7f098762782658f146392212bac
treebf86425a4aaad6182f551d7ad93a3d77942291a5
parentdf7b7130259c17863beb71d9bf76a46829ce02be
test/librbd/test_librbd.cc: fix OVERRUN

Fix for:

CID 1297862 (#1 of 1): Out-of-bounds access (OVERRUN)
 alloc_strlen: Allocating insufficient memory for the terminating
  null of the string.

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