don't write beyond the arraysize

svn path=/trunk/; revision=31972
This commit is contained in:
Christoph von Wittich 2008-01-24 17:06:19 +00:00
parent cf647b0d3b
commit ad976f79ed

View file

@ -104,7 +104,7 @@ HRESULT WINAPI ISF_MyComputer_Constructor (IUnknown * pUnkOuter, REFIID riid, LP
{
IGenericSFImpl *sf;
DWORD dwSize;
WCHAR szName[100];
WCHAR szName[MAX_PATH];
TRACE ("unkOut=%p %s\n", pUnkOuter, shdebugstr_guid (riid));
if (!ppv)