]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Pipe: take a ref to existing while we are waiting 9168/head
authorSamuel Just <sjust@redhat.com>
Thu, 12 May 2016 23:57:49 +0000 (16:57 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 13 May 2016 00:02:42 +0000 (17:02 -0700)
commitb224912d249453d754fc0478d3680f8cfa1a5c22
tree096dcefb90906eb1e9e951cf1950f42b6fad0a01
parentc347087e0a2da51d162e716133908cf456f6adbf
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>
src/msg/simple/Pipe.cc