This series addresses some issues with the handling of the negotiated
buffer size that the TPM frontends tell the tpm_emulator (swtpm) to use.
Also, it improves on limiting the number of bytes read from the packet
sent from swtpm.
Stefan
Stefan Berger (2):
tpm_emulator: Reject a buffer size different than what was requested
tpm_emulator: Disconnect if response exceeds negotiated buffer size
backends/tpm/tpm_emulator.c | 35 ++++++++++++++++++++++++++++++++---
1 file changed, 32 insertions(+), 3 deletions(-)
--
2.53.0