search for: _hivex_get_values

Displaying 5 results from an estimated 5 matches for "_hivex_get_values".

2014 Feb 06
3
[PATCH 1/2] hivex: Use correct constant in diagnostic error message
--- lib/value.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/value.c b/lib/value.c index c4e21ec..f222b41 100644 --- a/lib/value.c +++ b/lib/value.c @@ -334,7 +334,7 @@ hivex_value_value (hive_h *h, hive_value_h value, /* Arbitrarily limit the length that we will read. */ if (len > HIVEX_MAX_VALUE_LEN) { SET_ERRNO (ERANGE, "data length >
2014 Feb 06
0
[PATCH 2/2] hivex: Bump value size limit
...encountered a binary value with 1033680 bytes. --- lib/hivex-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hivex-internal.h b/lib/hivex-internal.h index 7f4cc3c..bfd24c8 100644 --- a/lib/hivex-internal.h +++ b/lib/hivex-internal.h @@ -321,7 +321,7 @@ extern int _hivex_get_values (hive_h *h, hive_node_h node, hive_value_h **values /* These limits are in place to stop really stupid stuff and/or exploits. */ #define HIVEX_MAX_SUBKEYS 15000 #define HIVEX_MAX_VALUES 10000 -#define HIVEX_MAX_VALUE_LEN 1000000 +#define HIVEX_MAX_VALUE_LEN 2000000 #define HIVE...
2014 Aug 07
4
[PATCH 0/2] Fix errors found by Clang static analyzer
Hi, Here is one trivial initialization fix and another patch to convert a huge macro to an inline function. The result of the expansion would show up in an assertion which triggered a -Woverlength-strings warning. Peter Wu (2): Fix garbage return value on error Fix overly long assertion string lib/hivex-internal.h | 28 ++++++++++++++++------------ lib/node.c | 18
2013 Oct 16
1
[Hivex] [PATCH] lib: Promote byte_conversions.h #include to hivex-internal.h
...dows_utf16_to_utf8 (/* const */ char *input, size_t len) diff --git a/lib/value.c b/lib/value.c index d713cdc..6d0f266 100644 --- a/lib/value.c +++ b/lib/value.c @@ -32,7 +32,6 @@ #include "hivex.h" #include "hivex-internal.h" -#include "byte_conversions.h" int _hivex_get_values (hive_h *h, hive_node_h node, diff --git a/lib/visit.c b/lib/visit.c index bd95b6c..87c755f 100644 --- a/lib/visit.c +++ b/lib/visit.c @@ -32,7 +32,6 @@ #include "hivex.h" #include "hivex-internal.h" -#include "byte_conversions.h" int hivex_visit (hive_h *h, co...
2013 Jul 25
19
[PATCH hivex 00/19] Fix read/write handling of li-records.
This is, hopefully, a full fix for handling of li-records. See: https://bugzilla.redhat.com/show_bug.cgi?id=717583 https://bugzilla.redhat.com/show_bug.cgi?id=987463 Rich.