diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2012-08-14 20:47:22 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2012-08-14 20:56:47 +0200 |
commit | c189f6a54f36f5b6f7734303db3cfc52311aab5f (patch) | |
tree | d477669cc743ee2186ee368005236fd272ac03a5 /ntlm.h | |
parent | 4bb8724c875163a426d7da7044b08582600367d1 (diff) | |
download | fetchmail-c189f6a54f36f5b6f7734303db3cfc52311aab5f.tar.gz fetchmail-c189f6a54f36f5b6f7734303db3cfc52311aab5f.tar.bz2 fetchmail-c189f6a54f36f5b6f7734303db3cfc52311aab5f.zip |
Validate NTLM challenge fields.
This is to avoid reading from bad locations, and possibly conveying
confidential data. Credit to Nico Golde.
Diffstat (limited to 'ntlm.h')
-rw-r--r-- | ntlm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ uint32 msgType; tSmbStrHeader uDomain; uint32 flags; uint8 challengeData[8]; -uint8 reserved[8]; -tSmbStrHeader emptyString; +uint32 context[2]; +tSmbStrHeader targetInfo; uint8 buffer[1024]; uint32 bufIndex; }tSmbNtlmAuthChallenge; |