)]}'
{
  "commit": "7d66284a5817a1613b1e4d64a0775ec04fdf8c01",
  "tree": "263bc1ad86743e45f14c74e83cddef326330b578",
  "parents": [
    "b7ceefea77a246fe5c1dcd1b91bf6079d1b97c02"
  ],
  "author": {
    "name": "Paul Jakma",
    "email": "paul@jakma.org",
    "time": "Thu Jan 19 10:39:23 2017 +0000"
  },
  "committer": {
    "name": "Paul Jakma",
    "email": "paul@quagga.net",
    "time": "Mon Jan 23 17:19:39 2017 +0000"
  },
  "message": "lib: ensure vty buf is nul terminated and wrap puts to it with checks\n\n* vty.c: Fix str* overruns in previous commit, which I reported to the\n  author. Add bit more checking of updates to vty buffer.\n  Swap VTY_BUFSIZ over to vty-\u003emax, as that should be the external API.\n* vty.c: (vty_buf_assert) conditions that should always be assertable for\n  vty buffer.\n  (vty_buf_put) little wrapper to check char puts to vty input buffer,\n  and unconditionally write nul at very end of buffer as guard.\n  Won\u0027t always work, as some places use mem* to manipulate.\n  (vty_self_insert{,_overwrite}) Length check needs to leave room for nul.\n  Use vty_buf_put.\n  (vty_insert_word_overwrite) Length check needs to leave room for nul.\n  (*) Add vty_buf_assert calls.\n\nMerging in fixes from Quentin Young \u003cqlyoung@cumulusnetworks.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6d647977438b73c19fdd4161b3b41ffac1e07c02",
      "old_mode": 33188,
      "old_path": "lib/vty.c",
      "new_id": "afaf2b06ed3fb9f562b7b36b09c28e702ab7b9ae",
      "new_mode": 33188,
      "new_path": "lib/vty.c"
    }
  ]
}
