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@winehq.org Reporter: b7.10110111@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
https://bugs.winehq.org/show_bug.cgi?id=41092
Ruslan Kabatsayev b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.resedit.net/ResE | |dit-win32.7z
https://bugs.winehq.org/show_bug.cgi?id=41092
--- Comment #1 from Ruslan Kabatsayev b7.10110111@gmail.com --- I'm not sure though that this is a Wine bug: if I choose MinGW includes instead of Wine's, it doesn't crash and works as expected.