Skip to content

Improve handling of response buffer size in tpm_emulator

Stefan Berger qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 3 repliesSuperseded
  3. v22 patches 3 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm_emulator: Reject a buffer size different than what was requestedbackends/tpm/tpm_emulator.c+12 -11 reply
2/2tpm_emulator: Disconnect if response exceeds negotiated buffer sizebackends/tpm/tpm_emulator.c+20 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarc-André Lureau
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

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

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(-)
Signature · 1 line
2.53.0