Displaying 10 results from an estimated 10 matches for "_get_children".
Did you mean:
get_children
2017 Feb 14
2
Re: [PATCH 2/2] lib: allow to walk registry with corrupted blocks
...plete failure if we run across a
> block with invalid size (unless it's the root block). Instead just
> log the event, and move on. This will allow open hives that have
> apparent invalid blocks but the ones of potential interest might be
> perfectly accessible.
> * _hivex_get_children - similiarly, if the's invalid subkey, just skip
> it instead of failing so one can continue to browse other valid
> subkeys.
>
> The above is similar to the behavior to Windows regedit where one can
> load such corrupted hives with e.g. "reg load HKU\Corrupted" an...
2017 Feb 16
6
[PATCH v4 0/5] hivex: handle corrupted hives better.
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be looking at
2017 Feb 15
2
[PATCH v3 0/2] hivex: handle corrupted hives better
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be looking at
2016 Dec 02
3
increasing HIVEX_MAX_SUBKEYS and HIVEX_MAX_VALUES
Hello,
We've been seeing an increasing number of software hives containing subkey and value counts that exceed the limits defined in hivex-internal.h (https://github.com/libguestfs/hivex/blob/1.3.13/lib/hivex-internal.h#L325-L327). Since hivex abruptly aborts when it comes across a key with more subkeys or values than the defined limits, it's breaking some functionality in our cloud.
The
2017 Feb 08
4
[PATCH 0/2] hivex: handle corrupted hives better
Hello,
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be
2017 Feb 14
4
[PATCH v2 0/2] hivex: handle corrupted hives better
The following patches address issues when dealing with hives that have
corrupted data in them but are otherwise readable/writable. Those were
found on some rather rare Windows installations that seem to work fine
but current hivex fails to even open.
Those patches change hivex to simply log and ignore such "corrupted"
regions instead of aborting because the caller might be looking at
2016 Dec 03
0
Re: increasing HIVEX_MAX_SUBKEYS and HIVEX_MAX_VALUES
...UES 110000
> #define HIVEX_MAX_VALUE_LEN 8000000
> #define HIVEX_MAX_ALLOCATION 1000000
Do you have the alternate patch that just increases the limits to 1.5x
what you need?
We're building a list of (up to) HIVEX_MAX_SUBKEYS * 4 bytes (not
counting intermediate blocks) in the _get_children function. While
it's not a massive amount of memory in a modern system, I think if
we're going to increase them substantially we should make these limits
configurable which makes everyone happy.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read...
2016 Dec 03
1
Re: increasing HIVEX_MAX_SUBKEYS and HIVEX_MAX_VALUES
...s to 1.5x what you need?
I've attached an updated patch that increases the limits based on the counts observed in the Microsoft\Windows NT\CurrentVersion subkey of the software hive.
> We're building a list of (up to) HIVEX_MAX_SUBKEYS * 4 bytes (not counting intermediate blocks) in the _get_children function. While it's not a massive amount of memory in a modern system, I think if we're going to increase them substantially we should make these limits configurable which makes everyone happy.
Sounds good. I'll start looking at making it configurable.
Matt
2017 Feb 08
0
[PATCH 2/2] lib: allow to walk registry with corrupted blocks
...n - do not abort with complete failure if we run across a
block with invalid size (unless it's the root block). Instead just
log the event, and move on. This will allow open hives that have
apparent invalid blocks but the ones of potential interest might be
perfectly accessible.
* _hivex_get_children - similiarly, if the's invalid subkey, just skip
it instead of failing so one can continue to browse other valid
subkeys.
The above is similar to the behavior to Windows regedit where one can
load such corrupted hives with e.g. "reg load HKU\Corrupted" and
browse/change it despit...
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.