Author: cwittich Date: Thu Jan 24 20:06:19 2008 New Revision: 31972
URL: http://svn.reactos.org/svn/reactos?rev=31972&view=rev Log: don't write beyond the arraysize
Modified: trunk/reactos/dll/win32/shell32/shfldr_mycomp.c
Modified: trunk/reactos/dll/win32/shell32/shfldr_mycomp.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shfldr_my... ============================================================================== --- trunk/reactos/dll/win32/shell32/shfldr_mycomp.c (original) +++ trunk/reactos/dll/win32/shell32/shfldr_mycomp.c Thu Jan 24 20:06:19 2008 @@ -104,7 +104,7 @@ { IGenericSFImpl *sf; DWORD dwSize; - WCHAR szName[100]; + WCHAR szName[MAX_PATH]; TRACE ("unkOut=%p %s\n", pUnkOuter, shdebugstr_guid (riid));
if (!ppv)