]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/AsyncConnection: Fix FPE in process_connection
authorBrad Hubbard <bhubbard@redhat.com>
Tue, 10 Apr 2018 02:05:11 +0000 (12:05 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 10 Apr 2018 02:05:11 +0000 (12:05 +1000)
commit3152797eafa52a8885e415ab75f8dcea570cddd9
tree618f9dce5fe4b0301d405d70709711343c43149d
parent447a107d5f220852ffa0630f7b4515b30e2d0b2a
msg/async/AsyncConnection: Fix FPE in process_connection

Check ms_inject_socket_failures is valid before we use it.

Fixes: http://tracker.ceph.com/issues/23618
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/msg/async/AsyncConnection.cc