fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage

This commit is contained in:
Mikhail Khachayants 2025-01-10 22:55:03 +02:00
parent 5652837b8f
commit 16e17b2c33

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;