)]}'
{
  "commit": "fe0bc5b65fdeded3473c835e26931fc366a7e626",
  "tree": "77d68f8553b5be0ac43fc6e8adcdeea6d7149c6c",
  "parents": [
    "a2a97a29d55cdbdc819c9b122078e24e59733692"
  ],
  "author": {
    "name": "Protobuf Team Bot",
    "email": "protobuf-github-bot@google.com",
    "time": "Wed Nov 04 21:38:22 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 04 21:41:38 2026 -0800"
  },
  "message": "Use CheckedAdd when reserving capacity in EpsCopyInputStream::ReadPackedFixed.\n\nIn `EpsCopyInputStream::ReadPackedFixed`, both `out-\u003eReserveWithArena(arena, old_entries + num)` calls (in the multi-chunk loop and in the final chunk) computed the target capacity using unguarded `int` addition (`old_entries + num`). If `old_entries + num` overflows `int`, the sum wraps negative, causing `RepeatedField::ReserveWithArena` (`new_size \u003e Capacity()`) to return without growing capacity before `AddNAlreadyReserved(num)` is called.\n\nWrap both capacity computations in `internal::CheckedAdd(old_entries, num)`, matching `EpsCopyInputStream::ReadPackedVarintArrayWithField` (updated in cl/952817921 for b/535680261), and add `RepeatedFieldIsFullTest.ParsedPackedFixedOverflow` covering both single-chunk and multi-chunk packed fixed parsing.\n\nPiperOrigin-RevId: 1014384493\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a106d70ad3a0faba360ce5a07fb0a22bfde9d328",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/parse_context.h",
      "new_id": "5dfa9b81c45a188ed112ef4fd778250319fea7ca",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/parse_context.h"
    },
    {
      "type": "modify",
      "old_id": "5a9472dd0e8036efc704cc0db49835d72c8d1423",
      "old_mode": 33188,
      "old_path": "src/google/protobuf/repeated_field_unittest.cc",
      "new_id": "34b0ec53ff48e9a1ddd683ed334e051f2113f861",
      "new_mode": 33188,
      "new_path": "src/google/protobuf/repeated_field_unittest.cc"
    }
  ]
}
