mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
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:
parent
2e7c6d22ad
commit
7fd1af5d12
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ STATIC VOID INIT_FUNCTION
|
||||||
IopEnumerateBiosDisks(PLIST_ENTRY ListHead)
|
IopEnumerateBiosDisks(PLIST_ENTRY ListHead)
|
||||||
{
|
{
|
||||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||||
WCHAR Name[100];
|
WCHAR Name[255];
|
||||||
ULONG AdapterCount;
|
ULONG AdapterCount;
|
||||||
ULONG ControllerCount;
|
ULONG ControllerCount;
|
||||||
ULONG DiskCount;
|
ULONG DiskCount;
|
||||||
|
|
Loading…
Reference in a new issue