)]}'
{
  "commit": "d2bcaacc17c4427bdb2d959cd91a42425fcca3c9",
  "tree": "57d99aae28bb19059cceb50d4fb65898c4627697",
  "parents": [
    "312c5404011f6a80d1467a19abd916fd203dd7d4"
  ],
  "author": {
    "name": "Stefan Berger",
    "email": "stefanb@linux.ibm.com",
    "time": "Wed Oct 16 13:51:29 2024 -0400"
  },
  "committer": {
    "name": "Stefan Berger",
    "email": "stefanb@linux.ibm.com",
    "time": "Fri Oct 18 07:55:08 2024 -0400"
  },
  "message": "tpm_emulator: Read control channel response in 2 passes\n\nError responses from swtpm are typically only 4 bytes long with the\nexception of a few commands that return more bytes. Therefore, read the\nentire response in 2 steps and stop if the first few bytes indicate an\nerror response with no subsequent bytes readable. Read the rest in a 2nd\nstep, if needed. This avoids getting stuck while waiting for too many\nbytes in case of an error. The \u0027getting stuck\u0027 condition has not been\nobserved in practice so far, though.\n\nResolves: https://gitlab.com/qemu-project/qemu/-/issues/2615\nReviewed-by: Daniel P. Berrangé \u003cberrange@redhat.com\u003e\nSigned-off-by: Stefan Berger \u003cstefanb@linux.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b0e2fb3fc7667f01cbd1a75d028d479bf8d3ad12",
      "old_mode": 33188,
      "old_path": "backends/tpm/tpm_emulator.c",
      "new_id": "aa05dab6aef741202b6b6f1f0c782c93cbda11e5",
      "new_mode": 33188,
      "new_path": "backends/tpm/tpm_emulator.c"
    }
  ]
}
