stubdom/vtpm: fix memcmp in TPM_ChangeAuthAsymFinish
authorOlaf Hering <olaf@aepfle.de>
Mon, 18 Jun 2018 12:55:36 +0000 (14:55 +0200)
committerWei Liu <wei.liu2@citrix.com>
Tue, 26 Jun 2018 11:42:24 +0000 (12:42 +0100)
commit22bf5be3237cb482a2ffd772ffd20ce37285eebf
treed16e63fa4ed75b162921fc7b269db2bac673d238
parente8e58be2b77708fd4d6ba6bca3f70bc507fde4be
stubdom/vtpm: fix memcmp in TPM_ChangeAuthAsymFinish

gcc8 spotted this error:
error: 'memcmp' reading 20 bytes from a region of size 8 [-Werror=stringop-overflow=]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
stubdom/Makefile
stubdom/vtpm_TPM_ChangeAuthAsymFinish.patch [new file with mode: 0644]