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>
Thu, 4 Feb 2010 16:29:32 +0000 (16:29 +0000)
commit3113582ef88d280cfa3c479cc705c3972c777fb7
treebe414e5a54e2ece4db20b1bc15df0aa80f1bca26
parent51efd7de7d80c329b6dab214141eacf626657a95
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