summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-04 13:26:04 +0000
committerRichard Jones <rjones@redhat.com>2010-02-04 13:28:26 +0000
commit01ba5f80ee02405f2a558e735e32957a710fdd5b (patch)
tree36e60227712582e67cad24d73a1ffe252d9d17a6 /python
parent578a5774a3ec00aad31988079eb6aacddcf6643f (diff)
downloadlibguestfs-01ba5f80ee02405f2a558e735e32957a710fdd5b.tar.gz
libguestfs-01ba5f80ee02405f2a558e735e32957a710fdd5b.tar.xz
libguestfs-01ba5f80ee02405f2a558e735e32957a710fdd5b.zip
hivex: Don't die on valid registries which have bad declared data lengths.
Some apparently valid registries contain value data length declarations which exceed the allocated block size for the value. Previously the code would return EFAULT for such registries. However since these appear to be otherwise valid registries, turn this into a warning and just use the allocated block size as the data length (in other words, truncate the value).
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions