Skip to content

Commit

Permalink
Merge pull request #4845 from tyler92/fix-uninitialized-ntlm
Browse files Browse the repository at this point in the history
fix(Net) Use of Uninitialized value in NTLMCredentials::parseChallengeMessage
  • Loading branch information
obiltschnig authored and matejk committed Jan 14, 2025
1 parent b9abe98 commit 38a1e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Net/src/NTLMCredentials.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 38a1e30

Please sign in to comment.