)]}'
{
  "commit": "50ababbd552abfa8ef3b16ccdaea54b58f5c031c",
  "tree": "7db6002fe4d701dda92ce43fba253ee1db210356",
  "parents": [
    "6400c9f20c3cdab491cd2aec29cfd2ae632d5046"
  ],
  "author": {
    "name": "Russ Cox",
    "email": "rsc@swtch.com",
    "time": "Tue Jun 03 00:16:48 2014 -0400"
  },
  "committer": {
    "name": "Russ Cox",
    "email": "rsc@swtch.com",
    "time": "Tue Jun 03 00:16:48 2014 -0400"
  },
  "message": "acme: fix bufread crash due to typing-point scrolling\n\nAcme tracks the most recent typing insertion point and\nthe home and end keys stop there on their way\nup to the top or down to the bottom of the file.\nThat point should be iq1, and it should be adjusted\nproperly so that it\u0027s always between 0 and t-\u003efile-\u003eb.nc inclusive.\n(This is all code from an external contributor, years old at this\npoint but new since Plan 9.)\n\nSomehow, sometimes iq1 ends up a little beyond b.nc,\nand when passed to textbacknl it crashes acme in bufread.\nI can\u0027t see how that can happen but if it does, avoid the crash.\n\nIt\u0027s tempting to pull the insertion point code out entirely\nbut this is a little less invasive and should fix things for now.\n\nTBR\u003drsc\nhttps://codereview.appspot.com/107730043\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "463db9ff623b8fc8c10f7b10e341e8aa3bb8acca",
      "old_mode": 33188,
      "old_path": "src/cmd/acme/text.c",
      "new_id": "c537d277f55dc3327e608443b19cb6c12b9341c6",
      "new_mode": 33188,
      "new_path": "src/cmd/acme/text.c"
    }
  ]
}
