From: Matt Benjamin Date: Sat, 12 Oct 2024 14:01:57 +0000 (-0400) Subject: rgw_cksum: zero-initialize GetObjAttrs integral members X-Git-Tag: v20.0.0~421^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ed6134c0b0b928b5587290dadab051c078e1237e;p=ceph.git rgw_cksum: zero-initialize GetObjAttrs integral members (code review) Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_op.h b/src/rgw/rgw_op.h index 3d525b32c4ec..d131fdf0b2bf 100644 --- a/src/rgw/rgw_op.h +++ b/src/rgw/rgw_op.h @@ -1649,9 +1649,9 @@ class RGWGetObjAttrs : public RGWGetObj { protected: std::string version_id; std::string expected_bucket_owner; - int marker; - int max_parts; - uint16_t requested_attributes; + int marker{0}; + int max_parts{0}; + uint16_t requested_attributes{0}; #if 0 /* used to decrypt attributes for objects stored with SSE-C */ x-amz-server-side-encryption-customer-algorithm