]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix not initialized pointer which cause rgw crash with ec data pool 16177/head
authorAleksei Gutikov <aleksey.gutikov@synesis.ru>
Thu, 6 Jul 2017 08:27:42 +0000 (11:27 +0300)
committerAleksei Gutikov <aleksey.gutikov@synesis.ru>
Fri, 7 Jul 2017 16:38:42 +0000 (19:38 +0300)
commit3e938dd9fe681fa8652dc4b0ec1dc56781d884c0
tree6f1cdf0ca24c65580c2d3c9385d9db5e94aefa4b
parent676e1c9b7cc81467c527e9eae118cbfb8b29ca34
rgw: fix not initialized pointer which cause rgw crash with ec data pool

In RGWPutObjProcessor_Atomic::complete_writing_data()
with pending_data_bl.length() > 0 and next_part_ofs==data_ofs
not initialized void *handle leads to invalid pointer librados::AioCompletion::pc
which leads to rgw crash.

Fixes: http://tracker.ceph.com/issues/20542
Signed-off-by: Aleksei Gutikov <aleksey.gutikov@synesis.ru>
src/rgw/rgw_rados.cc