]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PGLog: trim - avoid dereferencing invalid iter 23546/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 18 Aug 2018 09:17:01 +0000 (17:17 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Sat, 18 Aug 2018 09:18:24 +0000 (17:18 +0800)
commit19a5c375e6efcd83532fa3534c35dbf768a678ea
tree795fba368a6d6563083f6625171a99ead2a2bc5d
parent0ef08e1ba94d6aa6ce3ed55726bc02d13179cff8
osd/PGLog: trim - avoid dereferencing invalid iter

Log(e.g., projected_log) could theoretically be emtpy and hence there might
be potential access violation.

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