]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: fix crash with 'sync flow create/remove' cmd 47993/head
authorSoumya Koduri <skoduri@redhat.com>
Wed, 24 Aug 2022 05:38:38 +0000 (11:08 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 6 Sep 2022 17:58:32 +0000 (23:28 +0530)
commit09bfe49d8f8862f598bb21d05ee3c750170ad6d8
tree4a44a66a5f4af87ae7032bf10b31a8dcf20c59bc
parentbb84fce4eae81e6c37cfc035f1d969649100b97c
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 539c5b87a2965ce43002430790abd586b98f620d)
src/rgw/rgw_admin.cc