mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[DXDIAG]
- fix a buffer overrun CID #1102308 svn path=/trunk/; revision=62669
This commit is contained in:
@@ -282,7 +282,7 @@ EnumerateServiceProviders(HKEY hKey, HWND hDlgCtrl, DIRECTPLAY_GUID * PreDefProv
|
||||
{
|
||||
RegProviders |= (1 << ProviderIndex);
|
||||
szResult[0] = L'\0';
|
||||
LoadStringW(hInst, IDS_REG_SUCCESS, szResult, sizeof(szResult));
|
||||
LoadStringW(hInst, IDS_REG_SUCCESS, szResult, sizeof(szResult) / sizeof(WCHAR));
|
||||
Item.iSubItem = 1;
|
||||
|
||||
Item.iItem = ProviderIndex + ItemCount;
|
||||
|
||||
Reference in New Issue
Block a user