]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: catch manifest decode errors in GetObj/PutObj/CopyObj
authorCasey Bodley <cbodley@redhat.com>
Sun, 19 Feb 2023 22:24:48 +0000 (17:24 -0500)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 23 May 2023 16:50:07 +0000 (22:20 +0530)
commit9e476ee3ef98fdec447000755a1493b6461b9b04
tree83339359e714be757029d99d883080a8cfafd45d
parent15ffbdb0129ea49b983e3d8b7e0aa6580a7a7d08
rgw: catch manifest decode errors in GetObj/PutObj/CopyObj

if we read an object that doesn't have a manifest attribute,
RGWRados::get_obj_state_impl() adds an empty one and causes decode to
throw an end_of_buffer exception

Fixes: https://tracker.ceph.com/issues/58794
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 77e0b9848cb458427b5dcf86d2c19769ea65e0bc)
src/rgw/rgw_op.cc