]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: avoid segfault in wait_auth_rotating 14430/head
authorJohn Spray <john.spray@redhat.com>
Mon, 10 Apr 2017 12:00:41 +0000 (13:00 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 10 Apr 2017 12:02:00 +0000 (13:02 +0100)
commit4d414927081c939b172452c6095c2cc958d5d1f8
tree521746db44ca16cca47aa4e0f8cb5411d6ffdd9d
parentc80878a6bbe48ed00cbc499faf0abaa1f4cecd85
mon: avoid segfault in wait_auth_rotating

MonClient users should not be calling into MonClient
after calling shutdown().  However, MonClient should
assert out rather than proceeding to try and
follow a maybe-null pointer.

Related to http://tracker.ceph.com/issues/19566

Signed-off-by: John Spray <john.spray@redhat.com>
src/mon/MonClient.cc