xapi-project/ocaml-tar — pull request #1 by rdobson (2014-01-15 12:46:01+00:00)
Title: CA-121295: Fix initialisation of memory used for writing tar header files

When refactoring to allocate memory using the cstruct libray, an explict scrub of the allocation was not made.

This fix uses the 'zero_block' function to allocate a 512 block, into which the header is written.

Signed-off-by: Rob Dobson

I've tested the patch with XS and this fixes CA-121295.