ntdll: run TLS callbacks in zero-sized TLS directories

Andrey Turkin andrey.turkin at gmail.com
Sat Oct 10 06:09:02 CDT 2009


Newer Execryptor versions use TLS callback to perform some
debugger detections prior to main PE entrypoint; the problem is that TLS
directory specifies 0 TLS entries to allocate so Wine was ignoring whole
directory. This patch fixes it. Fixes bug 14005.

---
  dlls/ntdll/loader.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ntdll-run-TLS-callbacks-in-zero-sized-TLS-directorie.patch
Type: text/x-patch
Size: 573 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091010/84684fa7/attachment.bin>


More information about the wine-patches mailing list