comdlg32: Fix a stack overflow.
This commit is contained in:
parent
6f2513d39a
commit
7ccf6c28b3
|
@ -3349,6 +3349,9 @@ static int FILEDLG95_LOOKIN_InsertItemAfterParent(HWND hwnd,LPITEMIDLIST pidl)
|
|||
|
||||
TRACE("\n");
|
||||
|
||||
if (pidl == pidlParent)
|
||||
return -1;
|
||||
|
||||
iParentPos = FILEDLG95_LOOKIN_SearchItem(hwnd,(WPARAM)pidlParent,SEARCH_PIDL);
|
||||
|
||||
if(iParentPos < 0)
|
||||
|
|
Loading…
Reference in New Issue