mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-18 19:37:51 +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:
commit
7297033be7
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user