[PATCH v4 0/2] Improve handling of response buffer size in tpm_emulator

Stefan Berger posted 2 patches 2 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260511142219.797048-1-stefanb@linux.ibm.com
Maintainers: Stefan Berger <stefanb@linux.vnet.ibm.com>
backends/tpm/tpm_emulator.c | 35 ++++++++++++++++++++++++++++++++---
1 file changed, 32 insertions(+), 3 deletions(-)
[PATCH v4 0/2] Improve handling of response buffer size in tpm_emulator
Posted by Stefan Berger 2 weeks, 5 days ago
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