[Bug 48817] Module_InitDLL fails if LDR_MODULE.Flags was modified

WineHQ Bugzilla wine-bugs at winehq.org
Mon Apr 6 19:37:08 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48817

--- Comment #2 from qsniyg <qsniyg at mail.com> ---
Since a bunch of the emails regarding the patch were done without wine-devel
CC'd, I'll update the status of it here:

The patch I wrote adds a new variable to a wine structure, something that
doesn't exist under Windows, so while it works, it almost certainly isn't the
proper solution.

According to AJ, a proper solution would likely require only calling
Module_InitDLL when wine is sure that it's a DLL. I'm not very familiar with
this however, so I don't yet know exactly how to do this without possibly
introducing regressions. I'll have to look into this further.

For the moment, the attached patch should be functional enough without
introducing regressions, but it's not the correct way to do it either.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list