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
Modified: trunk/reactos/ntoskrnl/io/arcname.c
_____
Modified: trunk/reactos/ntoskrnl/io/arcname.c
--- trunk/reactos/ntoskrnl/io/arcname.c 2005-09-21 17:37:08 UTC (rev
17970)
+++ trunk/reactos/ntoskrnl/io/arcname.c 2005-09-21 17:57:07 UTC (rev
17971)
@@ -106,7 +106,7 @@
IopEnumerateBiosDisks(PLIST_ENTRY ListHead)
{
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
- WCHAR Name[100];
+ WCHAR Name[255];
ULONG AdapterCount;
ULONG ControllerCount;
ULONG DiskCount;