]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/notification: initialize member in reservation ctor 49236/head
authoryuval Lifshitz <ylifshit@redhat.com>
Sun, 4 Dec 2022 15:35:42 +0000 (17:35 +0200)
committeryuval Lifshitz <ylifshit@redhat.com>
Sun, 4 Dec 2022 15:35:42 +0000 (17:35 +0200)
coverity ID: CID 1517212
fix to commit: e4e05dde604830f6f2e58b28c4cb2e6d208b0064

Signed-off-by: yuval Lifshitz <ylifshit@redhat.com>
src/rgw/store/rados/rgw_notify.cc

index 498349035441de73130c680d6f56fa911e9105b1..253a3bc4035f9f72902bf2f31893fab26abbfe20 100644 (file)
@@ -995,6 +995,7 @@ reservation_t::reservation_t(const DoutPrefixProvider* _dpp,
     dpp(_dpp), store(_store), s(nullptr), size(0) /* XXX */,
     object(_object), src_object(_src_object), bucket(_bucket),
     object_name(nullptr),
+    metadata_fetched_from_attributes(false),
     user_id(_user_id),
     user_tenant(_user_tenant),
     req_id(_req_id),