]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix a crash when getting ECANCELED in delete_obj()
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 27 Jan 2015 01:15:14 +0000 (17:15 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 29 Jan 2015 17:31:33 +0000 (09:31 -0800)
commit0ace0f5e34ef63571d4f8f0c0a2a287a057e9b60
treedba087f47004a0449bc80fe86510ff904aa73c2c
parent00f21d8bb6fbcf525c6c9c4b412c353c99693b12
rgw: fix a crash when getting ECANCELED in delete_obj()

bufferlist::c_str() returns NULL if bufferlist is empty. We were
clearing the state, later on assigning s->obj_tag to a string.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc