[Bug 41092] New: Stack overflow in ResEdit when opening a resource with dialog containing a tab control
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Aug 6 14:10:27 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=41092
Bug ID: 41092
Summary: Stack overflow in ResEdit when opening a resource with
dialog containing a tab control
Product: Wine
Version: 1.9.15
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: b7.10110111 at gmail.com
Distribution: ---
Created attachment 55294
--> https://bugs.winehq.org/attachment.cgi?id=55294
winedbg basic session log
To reproduce:
1. Set up ResEdit to have include path to wine's include dir: /usr/include/wine
2. Create a new resource in ResEdit
3. Close ResEdit
4. Replace resulting resource.h with this:
#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
#define IDD_MAIN 101
5. Replace test.rc or whatever the name of the resource file with this:
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "resource.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_MAIN DIALOG 0, 0, 400, 250
STYLE DS_3DLOOK
CAPTION "test"
FONT 8, "Ms Shell Dlg"
{
CONTROL "", 104, WC_TABCONTROL, 0, 2, 0, 396, 226, WS_EX_LEFT
}
6. Start ResEdit
7. Open existing project, selecting test.rc
8. Get stack overflow
--
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