https://git.reactos.org/?p=reactos.git;a=commitdiff;h=99ec8ff00c04c9cb0d605…
commit 99ec8ff00c04c9cb0d6059aea104b4d03e46a672
Author: Andrew Cook <ariscop(a)gmail.com>
AuthorDate: Wed Feb 13 19:33:10 2019 +1100
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Wed Feb 13 09:33:10 2019 +0100
[RAMDISK] Fix unterminated query table
---
drivers/storage/class/ramdisk/ramdisk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/class/ramdisk/ramdisk.c
b/drivers/storage/class/ramdisk/ramdisk.c
index de6d2d5ca1..4f910eff5b 100644
--- a/drivers/storage/class/ramdisk/ramdisk.c
+++ b/drivers/storage/class/ramdisk/ramdisk.c
@@ -133,7 +133,7 @@ NTAPI
QueryParameters(IN PUNICODE_STRING RegistryPath)
{
ULONG MinView, DefView, MinViewLength, DefViewLength, MaxViewLength;
- RTL_QUERY_REGISTRY_TABLE QueryTable[10];
+ RTL_QUERY_REGISTRY_TABLE QueryTable[11];
/* Set defaults */
MaximumViewLength = 0x10000000u;