Index: net/http/http_auth_handler_ntlm_portable.cc |
diff --git a/net/http/http_auth_handler_ntlm_portable.cc b/net/http/http_auth_handler_ntlm_portable.cc |
index 035a6dc80170c091536c615c49c013332ce13b73..237e33a9825efe6a9885bdb2abfe286fa673e558 100644 |
--- a/net/http/http_auth_handler_ntlm_portable.cc |
+++ b/net/http/http_auth_handler_ntlm_portable.cc |
@@ -195,8 +195,12 @@ static void* WriteSecBuf(void* buf, uint16 length, uint32 offset) { |
length = SWAP16(length); |
offset = SWAP32(offset); |
#endif |
+ // Len: 2 bytes. |
buf = WriteBytes(buf, &length, sizeof(length)); |
+ // MaxLen: 2 bytes. The sender should set it to the value of Len. The |
+ // recipient must ignore it. |
buf = WriteBytes(buf, &length, sizeof(length)); |
+ // BufferOffset: 4 bytes. |
buf = WriteBytes(buf, &offset, sizeof(offset)); |
return buf; |
} |