]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
objectcacher: do callbacks _last_ to avoid a use-after-free
authorSage Weil <sage@newdream.net>
Wed, 26 Nov 2008 18:19:08 +0000 (10:19 -0800)
committerSage Weil <sage@newdream.net>
Wed, 26 Nov 2008 18:37:22 +0000 (10:37 -0800)
commit308aecc9e35d4a86e042e1a9592ea116509d2b04
treee35dfce87ebfff63dd1dc878df7f3ecada33d2c0
parent6dd9f2c156c4500ed763d86231cc97561ba9537e
objectcacher: do callbacks _last_ to avoid a use-after-free

The callback may call back into release_set, so do not assume any pointers
will remain valid after the callback.
src/osdc/ObjectCacher.cc