)]}'
{
  "commit": "6a85559a3f1bd2a5418354bf4bd7e306213a81bc",
  "tree": "b0c374619b55870b67236c9a5821c1ea458c4e41",
  "parents": [
    "01aaa8342f9d6e36356d05d0baff28e64ee6367e"
  ],
  "author": {
    "name": "thepudds",
    "email": "thepudds1460@gmail.com",
    "time": "Sun Apr 06 21:29:03 2025 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Wed Apr 09 11:19:55 2025 -0700"
  },
  "message": "windows: fix dangling pointers in (*SECURITY_DESCRIPTOR).ToAbsolute\n\nPrior to this CL, a byte slice was allocated via make to use as the\nabsoluteSD argument passed to the Windows API MakeAbsoluteSD.\n\nMakeAbsoluteSD then sets pointers outside the view of the GC, including\npointers within absoluteSD that point to other chunks of memory\nwe pass into MakeAbsoluteSD.\n\nCL 653856 recently allowed more make results to be stack allocated,\nwhich worsened the problems here and made it easier for those\npointers in absoluteSD to become dangling pointers, though the\ncore problems here existed before.\n\nThis CL instead allocates absoluteSD as a proper SECURITY_DESCRIPTOR\nstruct so that the GC can be aware of its pointers. We also verify the\npointers are as we expect, and then set them explicitly\nin view of the GC.\n\nUpdates golang/go#73199\n\nChange-Id: Id8038d38a887bb8ff3ffc6eae603589b97e92cdc\nReviewed-on: https://go-review.googlesource.com/c/sys/+/663355\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Keith Randall \u003ckhr@google.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\nAuto-Submit: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\nReviewed-by: Keith Randall \u003ckhr@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b6e1ab76f82a09033f0de0e754e1e1f7e65ade83",
      "old_mode": 33188,
      "old_path": "windows/security_windows.go",
      "new_id": "a8b0364c7c9b64c583b676a9c76ad905845f3d51",
      "new_mode": 33188,
      "new_path": "windows/security_windows.go"
    }
  ]
}
