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

Stefan Berger posted 2 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260430142337.2104726-1-stefanb@linux.ibm.com
Maintainers: Stefan Berger <stefanb@linux.vnet.ibm.com>
There is a newer version of this series
backends/tpm/tpm_emulator.c | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
[PATCH v2 0/2] Improve handling of response buffer size in tpm_emulator
Posted by Stefan Berger 1 month 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 larger than what was requested
  tpm_emulator: Limit number of bytes read to negotiated buffer size

 backends/tpm/tpm_emulator.c | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

-- 
2.43.0