https://bugs.winehq.org/show_bug.cgi?id=55782
Bug ID: 55782 Summary: System.Windows.Forms expects CreateActCtx() to succeed with truncated ACTCTX structure Product: Wine Version: 8.17 Hardware: x86-64 OS: Linux Status: NEW Keywords: source, testcase Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: dmitry@baikal.ru Distribution: ---
Major versions of .Net installed by winetricks (including 4.0, 4.52, 4.72, 4.8) are affected by this bug.
According to https://github.com/dotnet/winforms/blob/4.8/src/Common/src/UnsafeNativeMetho... internal definition of ACTCTX is missing hModule field, and as a result cbSize doesn't match the expectations of Wine's CreateActCtx() implementation https://github.com/dotnet/winforms/blob/4.8/src/Common/src/UnsafeNativeMetho...
The following MR aims to fix this bug: https://gitlab.winehq.org/wine/wine/-/merge_requests/3839
https://bugs.winehq.org/show_bug.cgi?id=55782
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |e8ce99792ea117316a9b2f95fba | |1fdf20bc48b7f
--- Comment #1 from Dmitry Timoshkov dmitry@baikal.ru --- CreateActCtxA() should be fixed by e8ce99792ea117316a9b2f95fba1fdf20bc48b7f, and CreateActCtxW() - by 909204005b2510db1314dd48b2ab3e49ebd49d9a.
https://bugs.winehq.org/show_bug.cgi?id=55782
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.20.