]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/notification: fix segmentation fault and topic listing logic
authorOshrey Avraham <oshrey16@gmail.com>
Mon, 18 Nov 2024 10:06:22 +0000 (12:06 +0200)
committerOshrey Avraham <oshrey16@gmail.com>
Mon, 18 Nov 2024 10:06:22 +0000 (12:06 +0200)
commitd27dab240d568a705ff45e2231be650673279ebe
tree334cdac4153a6b29c0a053cab5345cab3cba0572
parentf55fc4599a6c0da0f4bd2f3ecd2122e603ad94dd
rgw/notification: fix segmentation fault and topic listing logic

- Fixed a segmentation fault caused by a null bucket pointer in RGWPSListTopicsOp::execute()
- Corrected logic to use get_topics_v2 when supported, with fallback otherwise

Fixes: https://tracker.ceph.com/issues/68756
Signed-off-by: Oshrey Avraham <oshrey16@gmail.com>
src/rgw/rgw_rest_pubsub.cc