)]}'
{
  "commit": "669713d43f8a014ba481265d4c58c3fe575527b4",
  "tree": "cb5a6dade1296992775f07619eb1abf702981ded",
  "parents": [
    "9f34853f7c6b459fb473d75cb78372406f69d7b2"
  ],
  "author": {
    "name": "Ray Lai",
    "email": "ray@raylai.com",
    "time": "Mon May 23 22:30:52 2016 +0800"
  },
  "committer": {
    "name": "Gleydson Soares",
    "email": "gsoares@gmail.com",
    "time": "Sat Apr 08 00:04:32 2017 +0000"
  },
  "message": "9term: Add missing parentheses, preventing buffer overflow.\n\n(el-sr) is the string length and (sizeof wdir - strlen(name) - 20)\nis the buffer size. When the string length is greater than the\nbuffer size, the beginning of the string is supposed to be trimmed\nto fit in the buffer size. Unfortunately a pair of parentheses were\nmissing, pointing sr outside the buffer, and the for loop below\nthen reads outside the buffer. For certain binary data printed in\na window, it causes a segfault.\n\nChange-Id: Iffeaa348260ee2a5a36d9577308fb8d1c1688d05\nReviewed-on: https://plan9port-review.googlesource.com/1540\nReviewed-by: Gleydson Soares \u003cgsoares@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "032f9ded0beccd88fba267a1a7c8be10214ada54",
      "old_mode": 33188,
      "old_path": "src/cmd/9term/win.c",
      "new_id": "017d546b47475f45cee0d694a55734cceaff6bb1",
      "new_mode": 33188,
      "new_path": "src/cmd/9term/win.c"
    }
  ]
}
