)]}'
{
  "commit": "9f4e63491ba7ae2f7a537bb98a337f4dcd4e1c54",
  "tree": "e9f7b8ddf06104b833ef08e1bbd80b5e8bc1caca",
  "parents": [
    "316ee11144e3b8e1bc97a1d0fc6b1caf1963e104"
  ],
  "author": {
    "name": "Raphael Norwitz",
    "email": "raphael.norwitz@nutanix.com",
    "time": "Mon Jan 17 04:12:31 2022 +0000"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Fri Feb 04 09:07:43 2022 -0500"
  },
  "message": "libvhost-user: Add vu_add_mem_reg input validation\n\nToday if multiple FDs are sent from the VMM to the backend in a\nVHOST_USER_ADD_MEM_REG message, one FD will be mapped and the remaining\nFDs will be leaked. Therefore if multiple FDs are sent we report an\nerror and fail the operation, closing all FDs in the message.\n\nLikewise in case the VMM sends a message with a size less than that\nof a memory region descriptor, we add a check to gracefully report an\nerror and fail the operation rather than crashing.\n\nSigned-off-by: Raphael Norwitz \u003craphael.norwitz@nutanix.com\u003e\nMessage-Id: \u003c20220117041050.19718-3-raphael.norwitz@nutanix.com\u003e\nReviewed-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\nReviewed-by: David Hildenbrand \u003cdavid@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b09b1c269e2209cec6075861ffa3695c6dfa5e6e",
      "old_mode": 33188,
      "old_path": "subprojects/libvhost-user/libvhost-user.c",
      "new_id": "1a8fc9d600d302ce6a56bef6915943fe15a27ffb",
      "new_mode": 33188,
      "new_path": "subprojects/libvhost-user/libvhost-user.c"
    }
  ]
}
