[PATCH 2/7] advapi32: Prepend a hidden LSA_TRUST_INFORMATION in LsaLookupSids to avoid crash when Domains[-1] incorrectly accessed by application.
qhong at codeweavers.com
Sat Apr 4 09:27:34 CDT 2015
This patch fixes another Cygwin/MSYS2 crash. Actually it is an
application bug and fixed in Cygwin recently after reporting:
However, Cygwin/MSYS2 never crash on Windows, it seems native has
similar handling to work around application bug.
Since DomainIndex == -1 is a valid case according to both MSDN and
tests, there might be more broken applications access to Domain[-1] by
accident, so it would be great to have this handled in Wine.
dlls/advapi32/lsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2021 bytes
Desc: not available
More information about the wine-patches