)]}'
{
  "commit": "67ebea439dc91bdf9596ce47c021a19da4507580",
  "tree": "dc7195c61626690716aa76d899f1a96086e36bc0",
  "parents": [
    "831a13665ab1123b5ccd127820f287e41be137e9"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Tue Jun 30 09:48:55 2026 +0100"
  },
  "committer": {
    "name": "Philippe Mathieu-Daudé",
    "email": "philmd@oss.qualcomm.com",
    "time": "Tue Jul 07 17:10:24 2026 +0200"
  },
  "message": "hw/hyperv: Avoid crash if hyperv_find_cpu() passed invalid vp_index\n\nThe hyperv_find_cpu() function finds a CPU from a CPU index; this is\nbasically a wrapper around qemu_get_cpu().  It is allowed to fail, in\nwhich case it returns NULL, which its caller handles.  However, it\nincludes an assertion check which accidentally assumes the CPU\npointer is non-NULL.\n\nWe could assert only if cs !\u003d NULL, but the assertion here is not\ndoing anything interesting -- hyperv_vp_index() is a trivial wrapper\nreturning cs-\u003ecpu_index, so this is effectively asserting that\nqemu_get_cpu() did what it claims to do, i.e.  returned us the CPU\nmatching the index we gave it.  qemu_get_cpu() is a simple \"iterate\nthrough list and find matching CPU\" which is unlikely to be buggy,\nand we don\u0027t feel the need to sanity-check it in any of our other\nmany uses of it.  Drop the assertion entirely.\n\nResolves: https://gitlab.com/qemu-project/qemu/-/work_items/3568\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nAcked-by: Maciej S. Szmigiero \u003cmaciej.szmigiero@oracle.com\u003e\nReviewed-by: Daniel P. Berrangé \u003cberrange@redhat.com\u003e\nMessage-ID: \u003c20260630084855.2319838-1-peter.maydell@linaro.org\u003e\nSigned-off-by: Philippe Mathieu-Daudé \u003cphilmd@oss.qualcomm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d900327857c8799af670c9d938c048171ee2066",
      "old_mode": 33188,
      "old_path": "hw/hyperv/hyperv.c",
      "new_id": "900ff80213d2559f26041f9ae06b887afd63ed56",
      "new_mode": 33188,
      "new_path": "hw/hyperv/hyperv.c"
    }
  ]
}
