[Bug 33586] New: Incorrect ScaleWindowExtEx() usage crashes wine

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 14 07:33:02 CDT 2013


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

             Bug #: 33586
           Summary: Incorrect ScaleWindowExtEx() usage crashes wine
           Product: Wine
           Version: 1.5.30
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdi32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: t.artem at mailcity.com
    Classification: Unclassified


#include <windows.h>
int main() {
    HDC dc = CreateCompatibleDC (NULL);
    SetLayout (dc, LAYOUT_RTL);
    ScaleWindowExtEx (dc, -2147483647 - 1, -1, 1, 1, NULL);
}

winegcc 1.c -lgdi32

./1

Backtrace:
=>0 0x7ed145f4 nulldrv_ScaleWindowExtEx+0x64() in gdi32 (0x0032fd88)
  1 0x7ed151bb ScaleWindowExtEx+0x6a() in gdi32 (0x0032fdc8)
  2 0x7eff7630 main+0x6b() in a.out (0x0032fe08)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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