mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
[SHELL32] -AddFSClassKeysToArray: Increase the size of the buffer for the value read from the registry. There are cases when 40 are not enough.
svn path=/trunk/; revision=75595
This commit is contained in:
@@ -288,7 +288,7 @@ void AddFSClassKeysToArray(PCUITEMID_CHILD pidl, HKEY* array, UINT* cKeys)
|
||||
{
|
||||
AddClassKeyToArray(extension, array, cKeys);
|
||||
|
||||
WCHAR wszClass[40], wszClass2[40];
|
||||
WCHAR wszClass[MAX_PATH], wszClass2[MAX_PATH];
|
||||
DWORD dwSize = sizeof(wszClass);
|
||||
if (RegGetValueW(HKEY_CLASSES_ROOT, extension, NULL, RRF_RT_REG_SZ, NULL, wszClass, &dwSize) == ERROR_SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user