]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Pipe: take a ref to existing while we are waiting 9237/head
authorSamuel Just <sjust@redhat.com>
Thu, 12 May 2016 23:57:49 +0000 (16:57 -0700)
committerNathan Cutler <ncutler@suse.com>
Fri, 20 May 2016 21:09:14 +0000 (23:09 +0200)
commit8356021ef3d3d21fd632d3caa660ba9a03cf80d3
tree078b3aeec098a24d6caaad0c57db75c7462376fe
parentc11db6f103b2dd0049894a606916a84d66933833
Pipe: take a ref to existing while we are waiting

Otherwise, if it is reaped while we are waiting, it'll be a
use-after-free.

Fixes: http://tracker.ceph.com/issues/15870
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit b224912d249453d754fc0478d3680f8cfa1a5c22)
src/msg/simple/Pipe.cc