]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: fix crash with 'sync flow create/remove' cmd 47994/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:59:52 +0000 (23:29 +0530)
commitb0059346aa65de692ed4965a49b25a643830bd5e
tree4b6785c474ca192e82b9c94056ee2d3f93e89397
parent7019eef18323df73f261204a98bdfc081f2182ae
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