]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: prevent asok commands from dereferencing uninitialized members
authorJason Dillaman <dillaman@redhat.com>
Wed, 12 Feb 2020 02:59:41 +0000 (21:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 01:22:56 +0000 (20:22 -0500)
commita3a11a21cc977291253391b6279734c48958408d
tree988fbc17889bf26a9b4984fbd30bf57dafd3b302
parent1cb9e3b56932a1b00850b9cce4c65f8681dcc3cc
rbd-mirror: prevent asok commands from dereferencing uninitialized members

If rbd-mirror fails to connect to the remote cluster, there is a window of time
where the asok commands might attempt to dereference the default namespace
replayer or access invalid librados IoCtxs.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/tools/rbd_mirror/PoolReplayer.cc