]> Git Repo - qemu.git/commit - backends/tpm/tpm_emulator.c
tpm: Zero-init structure to avoid uninitialized variables in valgrind log
authorStefan Berger <[email protected]>
Tue, 30 Oct 2018 21:32:56 +0000 (17:32 -0400)
committerStefan Berger <[email protected]>
Tue, 30 Oct 2018 21:34:22 +0000 (17:34 -0400)
commiteff1fe9fd0cebe2293eea9597616f792b6b5ad18
treed772c58a8c9593a41139aea3e39586155f8b6c91
parent1f63669ec925b9158095c289ef590384d3a4a591
tpm: Zero-init structure to avoid uninitialized variables in valgrind log

Zero-init the ptm_loc structure so that we don't have fields that
are not initialised.

Signed-off-by: Stefan Berger <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
hw/tpm/tpm_emulator.c
This page took 0.026082 seconds and 4 git commands to generate.