]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Objecter: maybe access wild pointer(op) in _op_submit_with_budget. 6143/head
authorRuifeng Yang <yangruifeng.09209@h3c.com>
Fri, 25 Sep 2015 02:18:11 +0000 (10:18 +0800)
committerLoic Dachary <ldachary@redhat.com>
Tue, 10 Nov 2015 14:31:39 +0000 (15:31 +0100)
commit394fbfcc40d77ad6c8b3301c5ff2630c052107cd
treed810179c960012f54bd63b228438a7503d6e17a0
parent84068f8cea0452333f00f8b65230c00caa2e52ff
Objecter: maybe access wild pointer(op) in _op_submit_with_budget.

look at "after giving up session lock it can be freed at any time by response handler" in _op_submit,
so the _op_submit_with_budget::op maybe is wild after call _op_submit.

Fixes: #13208
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
(cherry picked from commit 0635b1358354b19ae44105576f730381f3b5b963)
src/osdc/Objecter.cc