)]}'
{
  "commit": "ff5689e8610ce92b0c22d31bcebc9d617316ebfb",
  "tree": "c0f163b45da3375c601eae7f6b1e902613db37b0",
  "parents": [
    "f25748b6003a74cacc208179dcf6be3559546c64"
  ],
  "author": {
    "name": "Evan Brown CA",
    "email": "ezb@google.com",
    "time": "Tue Nov 17 08:57:30 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 18 09:33:53 2026 -0800"
  },
  "message": "Poison slot and update generation on 1-element non-SOO clear and re-insert.\n\nFor non-SOO tables at capacity 1, single_iterator() uses SooControl(), whose control byte permanently satisfies IsFull(). When Clear() retained the 1-slot backing array, it destroyed the element without poisoning the slot for ASan/MSan and without incrementing the generation counter, leaving the destroyed slot unpoisoned and allowing invalidated iterators to pass AssertIsFull() and AssertIsValidForComparison(). Similarly, PrepareInsertSmallNonSoo() reused an empty 1-slot backing array via IncrementSmallSizeNonSoo() without calling maybe_increment_generation_on_insert(), allowing iterators invalidated by a prior erase() to dereference the newly inserted element when generations are enabled.\n\nPoison the single slot and increment the generation in Clear() when `!kSooEnabled`, and call maybe_increment_generation_on_insert() in PrepareInsertSmallNonSoo() before reusing an empty capacity-1 allocation.\n\nPiperOrigin-RevId: 1023784729\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9c188a299d9f953334673818e6772f2b3b9edb0b",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set.cc",
      "new_id": "85a34a352bd2a398f1ea7ba9c8771ba235918251",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set.cc"
    },
    {
      "type": "modify",
      "old_id": "becc6a77ffcd47b09ef745708543e47a877575ce",
      "old_mode": 33188,
      "old_path": "absl/container/internal/raw_hash_set_test.cc",
      "new_id": "c2d223bbe18ce49eef4a0c406c4e855ac6ded403",
      "new_mode": 33188,
      "new_path": "absl/container/internal/raw_hash_set_test.cc"
    }
  ]
}
