Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw/backport/pacific: Fix crashes with Sync policy APIs #47994

Merged
merged 2 commits into from Oct 11, 2022

Commits on Sep 6, 2022

  1. rgw: Avoid dereferencing nullptr while configuring bucket sync policy

    While configuring bucket sync policy, in "rgw_sync_bucket_entities::set_bucket()",
    there could be a case where in bucket doesnt contain any value but is still being
    dereferenced. This commit fixes the same.
    
    Signed-off-by: Soumya Koduri <skoduri@redhat.com>
    (cherry picked from commit 86cf827)
    soumyakoduri committed Sep 6, 2022
    Copy the full SHA
    7019eef View commit details
    Browse the repository at this point in the history
  2. radosgw-admin: fix crash with 'sync flow create/remove' cmd

    Avoid dereferencing an empty optional "flow-type" (if not specified).
    
    Fixes: https://tracker.ceph.com/issues/57275
    
    Signed-off-by: Soumya Koduri <skoduri@redhat.com>
    (cherry picked from commit 539c5b8)
    soumyakoduri committed Sep 6, 2022
    Copy the full SHA
    b005934 View commit details
    Browse the repository at this point in the history