[PATCH 1/2] imm32: Fix crash in DllMain when FreeLibrary is called from a thread which existed before the DLL was loaded.
Rob Shearman
robertshearman at gmail.com
Tue Feb 24 08:50:55 CST 2009
The code in IMM_FreeThreadData shouldn't assume that thread data will
always have been created, so check for NULL data.
Make loading the DLL more robust against errors.
---
dlls/imm32/imm.c | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
This is reproducible for me when executing "winedevice MountMgr".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8d98820f93731633c5ff95a512a1c3c0d2f4f930.diff
Type: text/x-patch
Size: 1563 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090224/baa94539/attachment-0001.bin
More information about the wine-patches
mailing list