Merge pull request #4845 from tyler92/fix-uninitialized-ntlm

fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
This commit is contained in:
Günter Obiltschnig
2025-01-11 08:47:28 +01:00
committed by Matej Kenda
parent b9abe9823d
commit 38a1e30965

View File

@@ -213,7 +213,7 @@ bool NTLMCredentials::parseChallengeMessage(const unsigned char* buffer, std::si
reader >> zero;
if (zero != 0) return false;
Poco::UInt32 type;
Poco::UInt32 type = 0;
reader >> type;
if (type != NTLM_MESSAGE_TYPE_CHALLENGE) return false;