[PATCH 2/2] secur32: Don't change input buffer in InitializeSecurityContext.

Jacek Caban jacek at codeweavers.com
Fri Jan 13 12:57:48 CST 2017


Fixes bug 41218 by avoiding allocating input buffer as if it was output
and reading from its uninitialized memory as it was part of handshake.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 dlls/secur32/schannel.c       | 13 ++++++++++---
 dlls/secur32/tests/schannel.c | 31 +++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-secur32-Don-t-change-input-buffer-in-InitializeSecuri.diff
Type: text/x-patch
Size: 3264 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170113/284ff435/attachment.bin>


More information about the wine-patches mailing list