[coreboot-gerrit] Patch merged into coreboot/master: tpm2_tlcl: Use signed integer for tpm2_marshal_command return value
gerrit at coreboot.org
gerrit at coreboot.org
Wed Jul 20 17:08:58 CEST 2016
the following patch was just integrated into master:
commit ed75b279a334e3a2c41ef179d7f4dbb8200445fb
Author: Duncan Laurie <dlaurie at google.com>
Date: Fri Jul 15 04:51:45 2016 -0700
tpm2_tlcl: Use signed integer for tpm2_marshal_command return value
The tpm2_marshal_command() function returns a negative value on error,
so we must use a signed type for the return value.
This was found by the coverity scan:
https://scan.coverity.com/projects/coreboot?tab=overview
CID:1357675
CID:1357676
Change-Id: I56d2ce7d52b9b70e43378c13c66b55ac2948f218
Signed-off-by: Duncan Laurie <dlaurie at google.com>
Found-by: Coverity Scan
Reviewed-on: https://review.coreboot.org/15717
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Vadim Bendebury <vbendeb at chromium.org>
See https://review.coreboot.org/15717 for details.
-gerrit
More information about the coreboot-gerrit
mailing list