Re: secur32: [4/3]Test and fix DecryptMessage for multiple data buffers.
4 Nov
2006
4 Nov
'06
4:49 a.m.
"Kai Blin" <kai.blin(a)gmail.com> wrote:
--- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -1345,22 +1345,32 @@ static SECURITY_STATUS SEC_ENTRY ntlm_Ve if(helper->neg_flags & NTLMSSP_NEGOTIATE_SIGN) { SecBufferDesc local_desc; - SecBuffer local_buff[2]; + SecBuffer local_buff[pMessage->cBuffers];
This construct is not portable, you need to use HeapAlloc to dynamically allocate buffers. -- Dmitry.
6975
Age (days ago)
6975
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov