)]}'
{
  "commit": "b9a2b96fb093476501177cd4dfc01bb222eee10c",
  "tree": "82ea7547e1c3c91f2bf907b7d8f565eadfca73f3",
  "parents": [
    "2c62012975526626c48849994b0433cbb776648e"
  ],
  "author": {
    "name": "Alan Ortega",
    "email": "alanortega7312@gmail.com",
    "time": "Wed May 06 16:32:06 2026 +0200"
  },
  "committer": {
    "name": "Nicolas Hillegeer",
    "email": "aktau@google.com",
    "time": "Thu Aug 13 02:19:47 2026 -0700"
  },
  "message": "encoding/prototext: enforce RecursionLimit in skipValue/skipMessageValue\n\nThe mutually recursive skipValue and skipMessageValue helpers, used by\nunmarshalMessage and unmarshalMapEntry to advance past unknown fields\nwhen DiscardUnknown is true (or when the receiving message has a\nmatching ReservedNames entry), did not decrement RecursionLimit. The\nlimit, enforced in unmarshalMessage and unmarshalMap, was therefore\nsilently bypassed on the unknown-field skip path. That limit was added\nin CL 734761; this change extends the same enforcement to the skip\npath.\n\nA text-format payload of nested unknown messages, e.g. f{f{...}} with\nsufficient depth, caused the Go runtime to abort with\n\"fatal error: stack overflow\" from runtime.newstack — a runtime.throw\nthat cannot be recovered by recover() in user code.\n\nThis change:\n\n  - Adds the RecursionLimit decrement idiom (matching unmarshalMessage\n    and unmarshalMap) to both skipValue and skipMessageValue.\n  - Propagates the error from the three call sites in decode.go\n    (unmarshalMessage and the two paths in unmarshalMapEntry) that\n    previously discarded the return value of skipValue, so that the\n    recursion-limit error reaches the caller of Unmarshal instead of\n    being swallowed.\n  - Adds table-driven regression tests in decode_test.go for nested\n    unknown messages and lists of unknown messages skipped via\n    DiscardUnknown.\n\nCloses #1715\n\nChange-Id: I9abd92dc7b686ef5d89e4d29a3cb716af78b8c9f\nReviewed-on: https://go-review.googlesource.com/c/protobuf/+/774741\nReviewed-by: Nicolas Hillegeer \u003caktau@google.com\u003e\nReviewed-by: Sandy Zhang \u003csandyzhang@google.com\u003e\nReviewed-by: Alan \u003calanortega7312@gmail.com\u003e\nReviewed-by: Cassondra Foesch \u003cpuellanivis@googlemail.com\u003e\nLUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "20ec09e19481f21f10d82997a373e17d749a045d",
      "old_mode": 33188,
      "old_path": "encoding/prototext/decode.go",
      "new_id": "29b6376c7064f63d8ba1ea978978cdcb05f42657",
      "new_mode": 33188,
      "new_path": "encoding/prototext/decode.go"
    },
    {
      "type": "modify",
      "old_id": "4bae232596c7e0153eab880a31268774f7711856",
      "old_mode": 33188,
      "old_path": "encoding/prototext/decode_test.go",
      "new_id": "3781bb7c004bf3e6c71211da0b8e009b71ad0699",
      "new_mode": 33188,
      "new_path": "encoding/prototext/decode_test.go"
    }
  ]
}
