Commit fff24b06 authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

wnaspi32: Fix a buffer size regression.

parent 5c76b4da
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment