From: Richard Jones Date: Mon, 29 Mar 2010 21:23:25 +0000 (+0100) Subject: Increase HIVEX_MAX_VALUES from 1000 to 10000. X-Git-Tag: 1.2.1~8 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=cddcf1ed57601ba18c1c572c671e46ce94d67376;p=hivex.git Increase HIVEX_MAX_VALUES from 1000 to 10000. I was sent a genuine Windows XP hive by Marko Myllynen which had a key with > 1000 values attached. --- diff --git a/lib/hivex.c b/lib/hivex.c index 43e989d..ef3cba7 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -57,7 +57,7 @@ /* These limits are in place to stop really stupid stuff and/or exploits. */ #define HIVEX_MAX_SUBKEYS 15000 -#define HIVEX_MAX_VALUES 1000 +#define HIVEX_MAX_VALUES 10000 #define HIVEX_MAX_VALUE_LEN 1000000 #define HIVEX_MAX_ALLOCATION 1000000