some arc names might be longer than 100 characters, increase the buffer size to 255 characters for now to fix a buffer overflow during startup

svn path=/trunk/; revision=17971
This commit is contained in:
Thomas Bluemel 2005-09-21 17:57:07 +00:00
parent 2e7c6d22ad
commit 7fd1af5d12

View file

@ -106,7 +106,7 @@ STATIC VOID INIT_FUNCTION
IopEnumerateBiosDisks(PLIST_ENTRY ListHead)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
WCHAR Name[100];
WCHAR Name[255];
ULONG AdapterCount;
ULONG ControllerCount;
ULONG DiskCount;