wnaspi32: Fix a buffer size regression.

This commit is contained in:
Roderick Colenbrander 2008-11-05 14:50:54 +01:00 committed by Alexandre Julliard
parent 5c76b4da73
commit fff24b061c
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ int ASPI_GetNumControllers(void)
{
HKEY hkeyScsi, hkeyPort;
DWORD i = 0, numPorts, num_ha = 0;
WCHAR wPortName[11];
WCHAR wPortName[15];
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, wDevicemapScsi, 0,
KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS, &hkeyScsi) != ERROR_SUCCESS )