search for: hivex_value_dword

Displaying 8 results from an estimated 8 matches for "hivex_value_dword".

2013 Jun 19
2
[PATCH] Relax size checks for integer types
...erpreting the first 4 (DWORD) or 8 (QWORD) bytes -- if there are enough bytes to be interpreted. --- lib/hivex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hivex.c b/lib/hivex.c index a2bd43b..efc27f8 100644 --- a/lib/hivex.c +++ b/lib/hivex.c @@ -1624,7 +1624,7 @@ hivex_value_dword (hive_h *h, hive_value_h value) if (data == NULL) return -1; - if ((t != hive_t_dword && t != hive_t_dword_be) || len != 4) { + if ((t != hive_t_dword && t != hive_t_dword_be) || len < 4) { free (data); errno = EINVAL; return -1; @@ -1650,7 +1650,7 @@ h...
2013 Jun 21
1
Re: [PATCH] Relax size checks for integer types
* Richard W.M. Jones: > ACK to this patch as it only affects the deprecated hivex_value_dword > and hivex_value_qword functions, making them a little bit more useful. I didn't see anything about those functions being "deprecated". What did I miss? Cheers, -Hilko
2013 Jun 21
0
Re: [PATCH] Relax size checks for integer types
...irst 4 (DWORD) or > 8 (QWORD) bytes -- if there are enough bytes to be interpreted. Yeah .. turns out that the type field in hives is mostly useless and occasionally harmful. It bears no relationship to what the field might actually contain. ACK to this patch as it only affects the deprecated hivex_value_dword and hivex_value_qword functions, making them a little bit more useful. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests....
2011 Dec 13
1
[hivex] [PATCH 1/2] hivex: Expose hive major and minor version
The major and minor version were being reported in a debug message. This patch adds the version information to the ABI and reports with hivexml. Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu> --- generator/generator.ml | 10 ++++++++++ lib/hivex.c | 32 +++++++++++++++++++++++++++----- xml/hivexml.c | 24 ++++++++++++++++++++++++ 3 files changed, 61
2011 Apr 13
1
[PATCH hivex] maint: split long lines
...r) == -1) + vtor->value_string (h, opaque, node, values[i], + t, len, key, str) == -1) goto error; free (str); str = NULL; break; @@ -1639,7 +1669,8 @@ hivex__visit_node (hive_h *h, hive_node_h node, case hive_t_dword_be: { int32_t i32 = hivex_value_dword (h, values[i]); if (vtor->value_dword && - vtor->value_dword (h, opaque, node, values[i], t, len, key, i32) == -1) + vtor->value_dword (h, opaque, node, values[i], + t, len, key, i32) == -1) goto error; break; } @@...
2010 Feb 05
13
[PATCH 01/14] hivexsh: Document some peculiarities of the "cd" command.
--- hivex/hivexsh.pod | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/hivex/hivexsh.pod b/hivex/hivexsh.pod index 277e3ae..9336798 100644 --- a/hivex/hivexsh.pod +++ b/hivex/hivexsh.pod @@ -100,7 +100,14 @@ or even: Path elements (node names) are matched case insensitively, and characters like space, C<*>, and C<?> have I<no> special
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.
2012 Aug 29
5
[PATCH 0/4] Add hivex APIs into the libguestfs API (RHBZ#852394)
This adds most of the hivex APIs directly to the libguestfs API, so that you can read and write Windows Registry hive files from libguestfs without needing to download and upload hive files from the guest. This is analogous to how Augeas APIs are exposed already (guestfs_aug_*) Also, inspection is now done using the new APIs, which fixes the following bug: