)]}'
{
  "commit": "0f039f3a4ad8093b3587dd32a675f6f101f902ed",
  "tree": "7bbbc79ceef05bd1099ab79fa7c02774d356e311",
  "parents": [
    "b27e1504e38fe3d716ce5e0043304791f99fb295"
  ],
  "author": {
    "name": "Nicholas S. Husin",
    "email": "nsh@golang.org",
    "time": "Wed Jul 08 12:15:26 2026 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Mon Jul 13 12:23:17 2026 -0700"
  },
  "message": "ssh: sanitize various error messages\n\nSimilar to CL 780180, sanitize other error messages that are controlled\nby the remote peer, to avoid potential injection of control characters.\n\nAlso remove sanitizeString usage as it is not strictly needed to escape\nerror messages safely, and for consistency with how we sanitize other\nerror messages throughout the codebase.\n\nBannerDisplayStderr is left unsanitized for now, as it is one instance\nwhere we might actually want control characters for valid reasons (see\ngolang/go#80302).\n\nUpdates golang/go#80302\nFixes golang/go#80301\n\nChange-Id: Ie40f4ac2f76afed740dceb548a4b0fa96a6a6964\nReviewed-on: https://go-review.googlesource.com/c/crypto/+/798420\nAuto-Submit: Nicholas Husin \u003cnsh@golang.org\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Michael Pratt \u003cmpratt@google.com\u003e\nReviewed-by: Nicola Murino \u003cnicola.murino@gmail.com\u003e\nReviewed-by: Nicholas Husin \u003chusin@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "60af2fc4dd4fa71c8fc02ca1ff690167e285dac4",
      "old_mode": 33188,
      "old_path": "ssh/client_auth.go",
      "new_id": "138cc9003ab367fecc9bc8ad9250f53d2dccf0f8",
      "new_mode": 33188,
      "new_path": "ssh/client_auth.go"
    },
    {
      "type": "modify",
      "old_id": "2e44e9c9ec620efbdf847e9fd86998080ac1ab2e",
      "old_mode": 33188,
      "old_path": "ssh/common.go",
      "new_id": "40247125dfdadc010dc9dfb6e9b02b07c15a9fd0",
      "new_mode": 33188,
      "new_path": "ssh/common.go"
    },
    {
      "type": "modify",
      "old_id": "378f6407b5344523b7460b0bc5685541d2d2786d",
      "old_mode": 33188,
      "old_path": "ssh/connection.go",
      "new_id": "9e0ed089c45f484d1ed588475b827a35676f9d4f",
      "new_mode": 33188,
      "new_path": "ssh/connection.go"
    },
    {
      "type": "modify",
      "old_id": "56f230cae9471196f5629420eb39fe87fb5c6691",
      "old_mode": 33188,
      "old_path": "ssh/handshake_test.go",
      "new_id": "1322db46168a40f0d561e348e1e58fb7975a7168",
      "new_mode": 33188,
      "new_path": "ssh/handshake_test.go"
    },
    {
      "type": "modify",
      "old_id": "de86f71cf4410b6d50ecb339375578f77a67ac20",
      "old_mode": 33188,
      "old_path": "ssh/messages.go",
      "new_id": "1d23dde259e0df2a900d9865b826a574053f2771",
      "new_mode": 33188,
      "new_path": "ssh/messages.go"
    },
    {
      "type": "modify",
      "old_id": "90f2f4a0107df16894f9c896882fd4f03a3c3e0e",
      "old_mode": 33188,
      "old_path": "ssh/messages_test.go",
      "new_id": "c333edc073c3cae5c9d81a90dbd3e3c1695815eb",
      "new_mode": 33188,
      "new_path": "ssh/messages_test.go"
    },
    {
      "type": "modify",
      "old_id": "5196b33d6f02f2690339e66c0fefea3f8fea2454",
      "old_mode": 33188,
      "old_path": "ssh/mux_test.go",
      "new_id": "4996878d7fcfca96292f745410a606af6137b813",
      "new_mode": 33188,
      "new_path": "ssh/mux_test.go"
    },
    {
      "type": "modify",
      "old_id": "18992a5b2db285468cda5c0b6627b56f2f556ddb",
      "old_mode": 33188,
      "old_path": "ssh/server.go",
      "new_id": "07d24059bc7cfe40e471e59464e7321c824a6765",
      "new_mode": 33188,
      "new_path": "ssh/server.go"
    }
  ]
}
