)]}'
{
  "commit": "9e993e3da82a9f4bc5c50c190afbcffd61e3d9e0",
  "tree": "6238184993949630f14bda7419b7ba76601a0c5a",
  "parents": [
    "7d7e8deea36d126397bda2cf924682504271f0e1"
  ],
  "author": {
    "name": "Sylvain Defresne",
    "email": "sdefresne@chromium.org",
    "time": "Thu Jun 18 18:49:25 2020 +0200"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Jun 18 18:12:52 2020 +0000"
  },
  "message": "Check that toolchain is passed exactly one argument\n\nThe toolchain function was not checking that the number of\npassed argument was correct (and thus accessing a vector\nat an invalid index which is undefined behaviour).\n\nInsert call to EnsureSingleStringArg to reuse the generic\ncheck shared by other generic function.\n\nBug: 45\nChange-Id: I9d06fba50d94d5d542dfaff45d378ffe78958803\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/9021\nCommit-Queue: Nico Weber \u003cthakis@chromium.org\u003e\nReviewed-by: Nico Weber \u003cthakis@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "92721dc48f304f14b28c278af68df4250cd8f70a",
      "old_mode": 33188,
      "old_path": "src/gn/function_toolchain.cc",
      "new_id": "0ff5d343b8c12f5a9172830b0e6e8a402931f669",
      "new_mode": 33188,
      "new_path": "src/gn/function_toolchain.cc"
    },
    {
      "type": "modify",
      "old_id": "2229495db3fdac1fd1893f1ff95d982d52402362",
      "old_mode": 33188,
      "old_path": "src/gn/function_toolchain_unittest.cc",
      "new_id": "ba4bfb6a506b5f621d0dcb08f7261906ffa41f68",
      "new_mode": 33188,
      "new_path": "src/gn/function_toolchain_unittest.cc"
    }
  ]
}
