From 9c4552b0d4bd2971b7eff9cfe0d56430ba962710 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 26 Mar 2010 13:49:25 +0000 Subject: [PATCH] Increase HIVEX_MAX_SUBKEYS to 15000. Windows 7 registry has a hive key which contains 11908 subkeys, larger than the existing limit (10000). The key is: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Winners --- lib/hivex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hivex.c b/lib/hivex.c index 91d3b12..43e989d 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -56,7 +56,7 @@ #include "byte_conversions.h" /* These limits are in place to stop really stupid stuff and/or exploits. */ -#define HIVEX_MAX_SUBKEYS 10000 +#define HIVEX_MAX_SUBKEYS 15000 #define HIVEX_MAX_VALUES 1000 #define HIVEX_MAX_VALUE_LEN 1000000 #define HIVEX_MAX_ALLOCATION 1000000 -- 1.8.3.1