qemu/qemu/6728170d2d081d8aad46807bc5e64520650f2795
tpm_emulator: Reject sending commands smaller than the request header
Reject any TPM request from being sent to the TPM emulator that is shorter
than the size of the request header.
Fixes: f4ede81eed29 ("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>
1 file changed