]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgwlc: check for no-bucket at bucket_lc_process() preamble 56960/head
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 27 Mar 2024 22:33:56 +0000 (18:33 -0400)
committerCasey Bodley <cbodley@redhat.com>
Wed, 17 Apr 2024 15:33:27 +0000 (11:33 -0400)
commita89a0966f83484a6cfc9e7fc79c625a30cbeb0b7
treec101539ec83abb88ac7b285f2e7bd4906ca818e2
parenta0df3e2b3ed3368be298d00064d6d4dc945a527e
rgwlc: check for no-bucket at bucket_lc_process() preamble

Avoids trivial segfault deferencing the bucket pointer.

Fixes: https://tracker.ceph.com/issues/65188
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit d5f6fe772f83d9e6b1ebaafdb1e8274041b0d684)
src/rgw/rgw_lc.cc