From cddcf1ed57601ba18c1c572c671e46ce94d67376 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Mon, 29 Mar 2010 22:23:25 +0100 Subject: [PATCH] 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. --- lib/hivex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1