hivex: allocate_block should update valid block bitmap.
authorRichard Jones <rjones@redhat.com>
Thu, 4 Feb 2010 16:29:32 +0000 (16:29 +0000)
committerRichard Jones <rjones@redhat.com>
Fri, 19 Feb 2010 15:01:34 +0000 (15:01 +0000)
commitd5e1a21afc6a5245b31e0017317c76aa1864e874
treeebde83afb91a6a2622e5c44d4b72450013c5f0fe
parent310dcfac962bdb2ae287ab5725e4abd0ee2586a3
hivex: allocate_block should update valid block bitmap.

The internal allocate_block() function wasn't updating the bitmap,
so if you revisited a block which you had allocated in the same
session, you could get an EFAULT error.
hivex/hivex.c