mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
[DXDIAG]
- fix a buffer overrun CID #1102308 svn path=/trunk/; revision=62669
This commit is contained in:
parent
02d348bf34
commit
0888fb5cb5
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ EnumerateServiceProviders(HKEY hKey, HWND hDlgCtrl, DIRECTPLAY_GUID * PreDefProv
|
||||||
{
|
{
|
||||||
RegProviders |= (1 << ProviderIndex);
|
RegProviders |= (1 << ProviderIndex);
|
||||||
szResult[0] = L'\0';
|
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.iSubItem = 1;
|
||||||
|
|
||||||
Item.iItem = ProviderIndex + ItemCount;
|
Item.iItem = ProviderIndex + ItemCount;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue