]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_librbd: fix heap overrun 754/head
authorSage Weil <sage@inktank.com>
Tue, 22 Oct 2013 16:37:08 +0000 (09:37 -0700)
committerSage Weil <sage@inktank.com>
Tue, 22 Oct 2013 16:37:08 +0000 (09:37 -0700)
commitdff41cd768687c0be0ebd274c7bd6425209f9d45
treee384d851dbbe959f308da1b1cdc73291a2c2c513
parent1f6b8b27b0e8e8374b463f995536aaeed776201f
ceph_test_librbd: fix heap overrun

We are storing rbd_snap_info_t structs, not pointers to them.  But we
can also avoid the heap entirely.

This crashed pretty reliably on arm.

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/librbd/test_librbd.cc