]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: paxos: Delete logger in destructor 38314/head
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 27 Nov 2020 00:55:54 +0000 (10:55 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 1 Dec 2020 22:33:52 +0000 (08:33 +1000)
commitcc295d1c87552eb76b9188d88d7e6ab2f3108149
tree90503e11fe2e4e66d27d786b7acd8b47fcc08385
parentdb2767cc6deabc7b51fb2a21d1e706dca4daf2f1
mon: paxos: Delete logger in destructor

reset() can race with shutdown() leading to a use-after-free on the
'logger' object.

Fixes: https://tracker.ceph.com/issues/48386
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/mon/Paxos.cc
src/mon/Paxos.h