diff --git a/src/credentials/CHIPOperationalCredentials.h b/src/credentials/CHIPOperationalCredentials.h index b0e9333b1b3804..13837bb8d2303b 100644 --- a/src/credentials/CHIPOperationalCredentials.h +++ b/src/credentials/CHIPOperationalCredentials.h @@ -41,8 +41,8 @@ using namespace Crypto; struct NodeCredential { - uint8_t * mCredential; - uint16_t mLen; + uint8_t * mCredential = nullptr; + uint16_t mLen = 0; }; struct NodeCredentialMap