]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: fix potential access violation during handling PING_REPLY 8995/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Mon, 9 May 2016 11:51:55 +0000 (19:51 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 9 May 2016 12:34:06 +0000 (20:34 +0800)
commitb29daf05fdfe4920b9d6edd887e2d76a043fbfd6
tree803196c84dd71ddc71646f9bdba27f6042897a2c
parent646a6a28c31c379ecd7a37eaa0e0641d1a93c728
osd: fix potential access violation during handling PING_REPLY

Need to make sure i != heartbeat_peers.end() before dereferencing it.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc