FILEDLG95_HandleCustomDialogMessages:
commitf3ca8426784344fa68bc577d0482f4cb444c0060
authorFrancois Gouget <fgouget@psn.net>
Sun, 26 Dec 1999 00:34:23 +0000 (26 00:34 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 26 Dec 1999 00:34:23 +0000 (26 00:34 +0000)
tree19a29106ec0f3c65392a57ba3d1811c49aa3bbdf
parent27548eeb4a157e9b4ee5f75bd5216bb4dfb91a18
FILEDLG95_HandleCustomDialogMessages:
- for the three handled messages we must return the required buffer size
- for CDM_GETFILEPATH paths like "dir\file" were handled incorrectly
- fixed multiple potential buffer overflows.
FILEDLG95_OnOpen: fixed a use of strncpy without '\0'.
FILEDLG95_SHELL_NewFolder: the size of lpstrCaption was incorrect
leading to a buffer overflow.
dlls/commdlg/filedlg95.c