[Bug 11052] crypt32 accesses freed memory and tries to enter deleted critical sections on process shutdown

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 9 12:01:39 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=11052





--- Comment #8 from Peter Oberndorfer <kumbayo84+wine_bugzilla at gmail.com>  2008-01-09 12:01:38 ---
(In reply to comment #7)
> Created an attachment (id=10118)
 --> (http://bugs.winehq.org/attachment.cgi?id=10118) [details]
> Possible fix
> 
> Does this patch fix it for you?
> 

Yes this patch fixes the problem.
I still wonder if we should try to free the handle
when crypt32.dll is unloaded by FreeLibrary instead of process shutdown
In this case we hypotetically keep rsaenh.dll in memory
while crypt32 is unloaded.
But i don't know if it matters/or works the way i propose(checking the reserved
value in DllMain)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list