ntdll: try to not raise exceptions when checking for atl thunks
Markus Amsler
markus.amsler at oribi.org
Tue Jun 15 15:41:51 CDT 2010
This fixes a regression with Shrinker 3.x compressed executables (like
bug 2608).
Shrinker injects its own exception handler into ntdll.EXC_CallHandler.
If there's an exception in check_atl_thunk shrinkers expected exceptions
gets out of sync which results in a page fault.
I tried writing a test to test how windows checks for atl thunks, but
windows is quite paranoid with emulating atl thunks (see code comments).
So I don't think its worth the effort to write a test for windows
behaviour, which wine has pretty sure no need to replicate.
---
dlls/ntdll/signal_i386.c | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-try-to-not-raise-exceptions-when-checking-for-.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100615/ade80b36/attachment.bin>
More information about the wine-patches
mailing list