Zero all new block allocations.
authorRichard Jones <rjones@redhat.com>
Mon, 29 Mar 2010 21:51:12 +0000 (22:51 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 29 Mar 2010 21:53:21 +0000 (22:53 +0100)
commitf692f27569a4fdb5a6ee0c8e1eb0035268eeadfd
treebf30269ac80b4f431b6b5580aa2e6db1b30c8b45
parentcddcf1ed57601ba18c1c572c671e46ce94d67376
Zero all new block allocations.

Make sure all new block allocations (from allocate_block)
are zeroed.  It can happen that junk from previous hive pages
can end up in new block allocations, if the hive previously
shrank.

(Thanks to Marko Myllynen for finding an example where this
happened).
lib/hivex.c