mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-10 00:56:03 +01:00
Merge pull request #4845 from tyler92/fix-uninitialized-ntlm
fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
This commit is contained in:
committed by
Matej Kenda
parent
b9abe9823d
commit
38a1e30965
@@ -213,7 +213,7 @@ bool NTLMCredentials::parseChallengeMessage(const unsigned char* buffer, std::si
|
|||||||
reader >> zero;
|
reader >> zero;
|
||||||
if (zero != 0) return false;
|
if (zero != 0) return false;
|
||||||
|
|
||||||
Poco::UInt32 type;
|
Poco::UInt32 type = 0;
|
||||||
reader >> type;
|
reader >> type;
|
||||||
if (type != NTLM_MESSAGE_TYPE_CHALLENGE) return false;
|
if (type != NTLM_MESSAGE_TYPE_CHALLENGE) return false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user