)]}'
{
  "commit": "53bf42e6b339f7ed00535fc6915737b3959eac89",
  "tree": "e837dee19d68d5b97d92ebf87ef62ed1e30a52c1",
  "parents": [
    "6c3a3bfe00aeca2b8685f04a482824367e7d2135"
  ],
  "author": {
    "name": "Jason A. Donenfeld",
    "email": "Jason@zx2c4.com",
    "time": "Wed Oct 23 22:34:22 2019 +0200"
  },
  "committer": {
    "name": "Jason A. Donenfeld",
    "email": "Jason@zx2c4.com",
    "time": "Fri Oct 25 09:01:51 2019 +0000"
  },
  "message": "windows/registry: allow for non-null terminated strings\n\nAccording to MSDN, \"If the data has the REG_SZ, REG_MULTI_SZ or\nREG_EXPAND_SZ type, this size includes any terminating null character or\ncharacters unless the data was stored without them. [...] If the data\nhas the REG_SZ, REG_MULTI_SZ or REG_EXPAND_SZ type, the string may not\nhave been stored with the proper terminating null characters. Therefore,\neven if the function returns ERROR_SUCCESS, the application should\nensure that the string is properly terminated before using it;\notherwise, it may overwrite a buffer.\"\n\nIt\u0027s therefore dangerous to pass it off unbounded as we do, and in fact\nthis led to crashes on real systems.\n\nChange-Id: I2ab324e85f75dc3e4d6d62fec3b96937fec77510\nReviewed-on: https://go-review.googlesource.com/c/sys/+/202957\nRun-TryBot: Jason A. Donenfeld \u003cJason@zx2c4.com\u003e\nTryBot-Result: Gobot Gobot \u003cgobot@golang.org\u003e\nReviewed-by: Alex Brainman \u003calex.brainman@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7487e05f8dbd6db15d9e47acf78ad9f1ee367642",
      "old_mode": 33188,
      "old_path": "windows/registry/value.go",
      "new_id": "d332d8373303b19c0070c9fc365daa90dd5f2d05",
      "new_mode": 33188,
      "new_path": "windows/registry/value.go"
    }
  ]
}
