vvfat: initialize memory after allocating it
commitf80256b7eebfbe20683b3a2b2720ad9991313761
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 15 Jul 2017 13:28:41 +0000 (15 15:28 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 18 Jul 2017 13:14:36 +0000 (18 15:14 +0200)
tree3e105ed2221d0f06b1baed6dd33eb584e6cd22bd
parente03da26b71d6bc2a7013eb75d1a7213c1392d159
vvfat: initialize memory after allocating it

This prevents some host to guest memory content leaks.

Fixes: https://bugs.launchpad.net/qemu/+bug/1599539

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vvfat.c