]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/crypt: don't deref null manifest_bl 53590/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 13 Sep 2023 20:30:03 +0000 (16:30 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 21 Sep 2023 21:47:29 +0000 (17:47 -0400)
commit9c4986f1c98a06bcbf696119051f9b9f2c8d9ddc
treefa585ed303aa92c21d33e3d115209aeb57af5166
parentbaf98ef6e73975430c41233fea26c8e06bc5ddff
rgw/crypt: don't deref null manifest_bl

with dbstore, the manifest_bl pointer was null; check for null before
dereferencing for read_manifest_parts()

Fixes: https://tracker.ceph.com/issues/62378
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 04d9ea6dafb9ab0d71888b5ac9b1317c111e41ec)
src/rgw/rgw_rest_s3.cc