schannel/tests: Fix crash on Win7 (Resend)
Ge van Geldorp
ggeldorp at vmware.com
Tue Oct 6 04:15:04 CDT 2009
http://www.winehq.org/pipermail/wine-patches/2009-August/077569.html got sucked
into the wine-patches black hole.
The Win7 SDK adds 6 more functions to SECPKG_FUNCTION_TABLE and a couple of
SECKPKG_INTERFACE_VERSION_x defines to indicate the actual size of the table.
Unfortunately it seems that Win7 SpLsaModeInitialize returns an incorrect
version (bug). We need to detect that to prevent a crash.
Changelog:
schannel/tests: Fix crash on Win7
---
dlls/schannel/lsamode.c | 14 +++++++++++++-
dlls/schannel/tests/main.c | 35 ++++++++++++++++++++++++++++++++---
include/ntsecpkg.h | 29 +++++++++++++++++++++++++++++
3 files changed, 74 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 505a069bfa2f7e85b7877553c2aa0a2ba9b9e4ea.diff
Type: text/x-patch
Size: 7538 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091006/cb123f82/attachment.bin>
More information about the wine-patches
mailing list