mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-10-28 14:04:39 +08:00
Reject any TPM request from being sent to the TPM emulator that is shorter than the size of the request header. Fixes:f4ede81eed("tpm: Added support for TPM emulator") Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Link: https://lore.kernel.org/qemu-devel/20261002142516.2063735-4-stefanb@linux.ibm.com Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> (cherry picked from commit6728170d2d) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>