[U-Boot] [PATCH 1/3] drivers/tpm/tpm_tis_sandbox.c: Fix uninitialized variable use
Simon Glass
sjg at chromium.org
Fri Apr 15 16:12:47 CEST 2016
On 12 April 2016 at 13:11, Tom Rini <trini at konsulko.com> wrote:
> In rollback_space_kernel we were not initializing the reserved fields
> which should be for safety sake, and doing memset here means we don't
> need to set the version field specifically either.
>
> Reported-by: Coverity (CID: 143917)
> Cc: Simon Glass <sjg at chromium.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> drivers/tpm/tpm_tis_sandbox.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list