[Bug 48759] New: Apple clang 11.0.0 incorrectly compiles get_devmode in without-mingw build

WineHQ Bugzilla wine-bugs at winehq.org
Mon Mar 16 07:18:37 CDT 2020


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

            Bug ID: 48759
           Summary: Apple clang 11.0.0 incorrectly compiles get_devmode in
                    without-mingw build
           Product: Wine
           Version: 5.4
          Hardware: x86-64
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wineps.drv
          Assignee: wine-bugs at winehq.org
          Reporter: piotr.caban at gmail.com
   Regression SHA1: 6887af4f2bf8a863889f7110e9be78bbfc4fa3f3

Apple clang 11.0.0 produces invalid 64-bit wineps.drv build. In
dlls/wineps.drv/init.c:
*dm = DefaultDevmode;
assignment ends using memcpy.

Since it links to msvcrt the parameters are passed incorrectly causing a crash
during prefix creation.

-- 
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