Source

nsis64 / Contrib / Library / RegTool / RegTool.c

Diff from to

Contrib/Library/RegTool/RegTool.c

                 continue;
 
               wsprintf(valname, _T("%u.file"), j);
-              l = (lstrlen(file)+1)*sizeof(TCHAR);
+              l = STR_SIZE*sizeof(TCHAR);
               if (FAILED(RegQueryValueEx(key, valname, NULL, &t, (LPBYTE) file, &l)) || t != REG_SZ)
                 continue;