The pathname was stored in a string of size 100, which was not always

large enough. It should be set to MAX_PATH (255).
oldstable
Jeff Tranter 2000-03-07 12:22:51 +00:00 committed by Alexandre Julliard
parent 45b5bcf65b
commit 7d50ae6f80
1 changed files with 1 additions and 1 deletions

View File

@ -1065,7 +1065,7 @@ HRESULT WINAPI FileMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOth
int WINAPI FileMonikerImpl_DecomposePath(LPOLESTR str, LPOLESTR** stringTable)
{
WCHAR bSlash[] = {'\\',0};
WCHAR word[100];
WCHAR word[MAX_PATH];
int i=0,j,tabIndex=0;
LPOLESTR *strgtable ;