)]}'
{
  "commit": "66f8fd9dda312191b78d2a2ba2848bcee76127a2",
  "tree": "310b9fc80abbb6b2c41070637f20886ff10d043a",
  "parents": [
    "3f8752b4e5a3871f0d2963ab889be937d9a4226a"
  ],
  "author": {
    "name": "Gabriel L. Somlo",
    "email": "somlo@cmu.edu",
    "time": "Thu Nov 05 09:32:50 2015 -0500"
  },
  "committer": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Tue Dec 15 11:45:59 2015 +0100"
  },
  "message": "fw_cfg: avoid calculating invalid current entry pointer\n\nWhen calculating a pointer to the currently selected fw_cfg item, the\nfollowing is used:\n\n  FWCfgEntry *e \u003d \u0026s-\u003eentries[arch][s-\u003ecur_entry \u0026 FW_CFG_ENTRY_MASK];\n\nWhen s-\u003ecur_entry is FW_CFG_INVALID, we are calculating the address of\na non-existent element in s-\u003eentries[arch][...], which is undefined.\n\nThis patch ensures the resulting entry pointer is set to NULL whenever\ns-\u003ecur_entry is FW_CFG_INVALID.\n\nReported-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nReviewed-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nSigned-off-by: Gabriel Somlo \u003csomlo@cmu.edu\u003e\nMessage-id: 1446733972-1602-5-git-send-email-somlo@cmu.edu\nCc: Marc Marí \u003cmarkmb@redhat.com\u003e\nSigned-off-by: Gabriel Somlo \u003csomlo@cmu.edu\u003e\nReviewed-by: Laszlo Ersek \u003clersek@redhat.com\u003e\nSigned-off-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c2d3a0a5489c93a0ee2b3076b771034977cdaaae",
      "old_mode": 33188,
      "old_path": "hw/nvram/fw_cfg.c",
      "new_id": "046fa749a5695b787927271f19598a624c8f8b1e",
      "new_mode": 33188,
      "new_path": "hw/nvram/fw_cfg.c"
    }
  ]
}
