From: Richard Jones Date: Fri, 26 Mar 2010 13:49:25 +0000 (+0000) Subject: Increase HIVEX_MAX_SUBKEYS to 15000. X-Git-Tag: 1.2.1~9 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=9c4552b0d4bd2971b7eff9cfe0d56430ba962710;p=hivex.git 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 --- 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