]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix use-after-free on osd
authorSage Weil <sage@newdream.net>
Mon, 8 Jun 2009 19:07:25 +0000 (12:07 -0700)
committerSage Weil <sage@newdream.net>
Mon, 8 Jun 2009 19:12:09 +0000 (12:12 -0700)
commit0e312e773b408449d0c8b6f621596daceb54d4e2
tree320aebeacc86373c11fac7f549b49eb6f89b9600
parent8dcb1e6e822a45c592c2fce7f55bf0014fd64b69
osd: fix use-after-free on osd

push_to_replica is called on a sobject_t ref from the missing map,
and then removes the item from said missing map.  Reorder to avoid
the soid mangling.
src/osd/ReplicatedPG.cc