)]}'
{
  "commit": "b0d768c35e08d2057b63e8e77e7a513c447199fa",
  "tree": "e320d89537fc19394fba2592b44bbb1427882ae8",
  "parents": [
    "2d1fe1873a984d1c2c89ffa3d12949cafc718551"
  ],
  "author": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Thu Aug 22 11:43:58 2013 +0200"
  },
  "committer": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Thu Sep 12 09:58:18 2013 +0200"
  },
  "message": "chardev: fix pty_chr_timer\n\npty_chr_timer first calls pty_chr_update_read_handler(), then clears\ntimer_tag (because it is a one-shot timer).   This is the wrong order\nthough.  pty_chr_update_read_handler might re-arm time timer, and the\nnew timer_tag gets overwitten in that case.\n\nThis leads to crashes when unplugging a pty chardev:  pty_chr_close\nthinks no timer is running -\u003e timer isn\u0027t canceled -\u003e pty_chr_timer gets\ncalled with stale CharDevState -\u003e BOOM.\n\nThis patch fixes the ordering.\nKill the pointless goto while being at it.\n\nhttps://bugzilla.redhat.com/show_bug.cgi?id\u003d994414\n\nCc: qemu-stable@nongnu.org\nSigned-off-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "62594965bd162a79aa2014808171bdbc6c25b3c7",
      "old_mode": 33188,
      "old_path": "qemu-char.c",
      "new_id": "f7f5464b67635a7044f8725db60b37363be7675c",
      "new_mode": 33188,
      "new_path": "qemu-char.c"
    }
  ]
}
