• Dmitry Timoshkov's avatar
    comdlg32: Postpone setting ofn->lpstrFileTitle to work around an application bug. · 921aaa6f
    Dmitry Timoshkov authored
    An application in the bug 38400 passes a not initialized ofn->lpstrFileTitle
    to GetSaveFileNameW(). Basically ofn->lpstrFileTitle points to the stack
    approximately 428 bytes above the current stack pointer, and since Wine's
    GetSaveFileNameW() uses more than 4096 bytes one of internal stack frames is
    guaranteed to be trashed after copying file name to ofn->lpstrFileTitle.
    921aaa6f
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.in Loading commit data...
cdlg.h Loading commit data...
cdlg32.c Loading commit data...
cdrom.ico Loading commit data...
colordlg.c Loading commit data...
comdlg32.rc Loading commit data...
comdlg32.spec Loading commit data...
comdlg32_classes.idl Loading commit data...
filedlg.c Loading commit data...
filedlg31.c Loading commit data...
filedlgbrowser.c Loading commit data...
filedlgbrowser.h Loading commit data...
finddlg.c Loading commit data...
floppy.ico Loading commit data...
folder.ico Loading commit data...
folder2.ico Loading commit data...
fontdlg.c Loading commit data...
fontpics.bmp Loading commit data...
hdisk.ico Loading commit data...
itemdlg.c Loading commit data...
network.ico Loading commit data...
pd32_collate.ico Loading commit data...
pd32_collate.svg Loading commit data...
pd32_landscape.ico Loading commit data...
pd32_landscape.svg Loading commit data...
pd32_nocollate.ico Loading commit data...
pd32_nocollate.svg Loading commit data...
pd32_portrait.ico Loading commit data...
pd32_portrait.svg Loading commit data...
printdlg.c Loading commit data...