From ced7b068621e891bbcdefc60ad88cd0996f00606 Mon Sep 17 00:00:00 2001 From: Gregory Wlodarek Date: Wed, 8 Feb 2023 05:01:23 +0000 Subject: SERVER-73745 Zero initialize IndexKeyBucket struct (cherry picked from commit ceb331a7471e03038f72d9ba7d9d3ac9f9d80ada) --- src/mongo/db/catalog/index_consistency.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h index f873e83addf..0fe2dc1818b 100644 --- a/src/mongo/db/catalog/index_consistency.h +++ b/src/mongo/db/catalog/index_consistency.h @@ -114,8 +114,8 @@ public: protected: struct IndexKeyBucket { - uint32_t indexKeyCount; - uint32_t bucketSizeBytes; + uint32_t indexKeyCount = 0; + uint32_t bucketSizeBytes = 0; }; CollectionValidation::ValidateState* _validateState; -- cgit v1.2.1