[ros-diffs] [weiden] 17971: 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
weiden at svn.reactos.com
weiden at svn.reactos.com
Wed Sep 21 19:57:14 CEST 2005
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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050921/d06da594/attachment.html
More information about the Ros-diffs
mailing list