mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
The pathname was stored in a string of size 100, which was not always
large enough. It should be set to MAX_PATH (255).
This commit is contained in:
parent
45b5bcf65b
commit
7d50ae6f80
@ -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 ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user