search for: subblock_offset

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

2013 Jun 23
3
[PATCH] Add read support for "big data" blocks to hivex
...data_offset, blocklist_offset); + errno = EINVAL; + free (ret); + return NULL; + } + struct ntreg_value_list *bl = + (struct ntreg_value_list *) ((char *) h->addr + blocklist_offset); + size_t i, off; + for (i=off=0; i < nr_blocks; ++i) { + uint32_t subblock_offset = le32toh (bl->offset[i]); + subblock_offset += 0x1000; + if (!IS_VALID_BLOCK (h, subblock_offset)) { + if (h->msglvl >= 2) + fprintf (stderr, "hivex_value_value: warning: big data block is not " + "valid (db block 0x%zx, block lis...
2013 Jun 25
2
Re: [PATCH] Add read support for "big data" blocks to hivex
...e_value_h value, > if (h->msglvl >= 2) > fprintf (stderr, "hivex_value_value: warning: big data block is not " > "valid (db block 0x%zx, block list 0x%zx, data block 0x%zx)\ > - data_offset, blocklist_offset, subblock_offset); > + data_offset, blocklist_offset, (size_t) subblock_offset); > } > int32_t seg_len = block_len(h, subblock_offset, NULL); > struct ntreg_db_block *subblock = > > to make it compile without warnings. Yeah, so I'll just make subblock_of...
2013 Jun 25
0
Re: [PATCH] Add read support for "big data" blocks to hivex
...errno = EINVAL; > + free (ret); > + return NULL; > + } > + struct ntreg_value_list *bl = > + (struct ntreg_value_list *) ((char *) h->addr + blocklist_offset); > + size_t i, off; > + for (i=off=0; i < nr_blocks; ++i) { > + uint32_t subblock_offset = le32toh (bl->offset[i]); > + subblock_offset += 0x1000; > + if (!IS_VALID_BLOCK (h, subblock_offset)) { > + if (h->msglvl >= 2) > + fprintf (stderr, "hivex_value_value: warning: big data block is not " > + "valid (...
2013 Jun 25
0
[PATCH] Add read support for "big data" blocks to hivex
...data_offset, blocklist_offset); + errno = EINVAL; + free (ret); + return NULL; + } + struct ntreg_value_list *bl = + (struct ntreg_value_list *) ((char *) h->addr + blocklist_offset); + size_t i, off; + for (i = off = 0; i < nr_blocks; ++i) { + size_t subblock_offset = le32toh (bl->offset[i]); + subblock_offset += 0x1000; + if (!IS_VALID_BLOCK (h, subblock_offset)) { + if (h->msglvl >= 2) + fprintf (stderr, "hivex_value_value: warning: subblock is not " + "valid (db block 0x%zx, block list 0x%z...
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.