git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c4552b
)
Increase HIVEX_MAX_VALUES from 1000 to 10000.
author
Richard Jones
<rjones@redhat.com>
Mon, 29 Mar 2010 21:23:25 +0000
(22:23 +0100)
committer
Richard Jones
<rjones@redhat.com>
Mon, 29 Mar 2010 21:23:25 +0000
(22:23 +0100)
I was sent a genuine Windows XP hive by Marko Myllynen which
had a key with > 1000 values attached.
lib/hivex.c
patch
|
blob
|
history
diff --git
a/lib/hivex.c
b/lib/hivex.c
index
43e989d
..
ef3cba7
100644
(file)
--- 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
1
000
+#define HIVEX_MAX_VALUES
10
000
#define HIVEX_MAX_VALUE_LEN 1000000
#define HIVEX_MAX_ALLOCATION 1000000