)]}'
{
  "commit": "c2533a0ce054965d420e80ccef08d713b971f710",
  "tree": "3c1b27c65178b573a468cd43fc77ec00a9c8559b",
  "parents": [
    "6fdbe43d89616f3594fb8a0c0421fe20deebc190"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Sun Nov 15 23:05:42 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 18 11:16:18 2026 -0800"
  },
  "message": "Validate stream deserialization invariants across absl/random.\n\nDeserializing malformed or out-of-range text via `operator\u003e\u003e` into\n`absl/random` distributions and engines previously bypassed constructor\npreconditions:\n* Invalid parameters (such as negative probabilities, inverted bounds,\n  non-finite weights, oversized `discrete_distribution` weight counts, or\n  out-of-range `randen_engine` buffer indices) were accepted without setting\n  `failbit`, leaving objects with violated invariants, unbounded allocations,\n  or out-of-bounds state reads on subsequent draws.\n* Unsigned integer stream reads accepted negative tokens via wraparound, 1-byte\n  integer reads truncated out-of-range values, failed floating-point reads left\n  uninitialized outputs, and engine `operator\u003e\u003e` leaked stream formatting\n  flags.\n\nReject invalid serialized inputs with `failbit` while leaving the target\ndistribution or engine unchanged.\n\nPiperOrigin-RevId: 1022532452\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "42b59d3f3d31a6e6e633b6b9b65c7e54c4539653",
      "old_mode": 33188,
      "old_path": "absl/random/BUILD.bazel",
      "new_id": "162e3281bcdd57e9c4c6e113845b489ac06bb199",
      "new_mode": 33188,
      "new_path": "absl/random/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "700c271645a857913549e9f095a9d146a28236a2",
      "old_mode": 33188,
      "old_path": "absl/random/CMakeLists.txt",
      "new_id": "cef4ab511d1680c7e40af5e1a2c5347005161f69",
      "new_mode": 33188,
      "new_path": "absl/random/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "10c24e62212f8033f162969a0ecc3bc205db0339",
      "old_mode": 33188,
      "old_path": "absl/random/bernoulli_distribution.h",
      "new_id": "efe1990294d90406f8375a47ddf3e98d0470bd24",
      "new_mode": 33188,
      "new_path": "absl/random/bernoulli_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "9c04bf6c6572fd3eb63e38a882afefdfc9b65b6f",
      "old_mode": 33188,
      "old_path": "absl/random/bernoulli_distribution_test.cc",
      "new_id": "ae2c8462c067b70905a44e5b87efd277d7abfd54",
      "new_mode": 33188,
      "new_path": "absl/random/bernoulli_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "a2cdd2554963c4944ebd1f00ef78327cf366977a",
      "old_mode": 33188,
      "old_path": "absl/random/beta_distribution.h",
      "new_id": "b2d0f8fa39de8635d8b2243681277e78e91a8a6b",
      "new_mode": 33188,
      "new_path": "absl/random/beta_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "7e06cb2835424187524ec55bd98e962d1d6c0433",
      "old_mode": 33188,
      "old_path": "absl/random/beta_distribution_test.cc",
      "new_id": "b44bde06678291eb3816ff23a17161df179ae774",
      "new_mode": 33188,
      "new_path": "absl/random/beta_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "35d42c80b6af37b3746cb56e73597836f704abb2",
      "old_mode": 33188,
      "old_path": "absl/random/discrete_distribution.h",
      "new_id": "de710a98b2928afac2193f7d36c9c5e033c260e0",
      "new_mode": 33188,
      "new_path": "absl/random/discrete_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "9d961f779da72a72b4bb8d7feaa2d9b9a43f9686",
      "old_mode": 33188,
      "old_path": "absl/random/discrete_distribution_test.cc",
      "new_id": "8fffb41d0966f2efd7383c0b00d018a5917d5511",
      "new_mode": 33188,
      "new_path": "absl/random/discrete_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "21a02793911f71e54388c6963941b74dc826a7fc",
      "old_mode": 33188,
      "old_path": "absl/random/exponential_distribution.h",
      "new_id": "507a362154eb62e50065eb6f68c5f4f5091343ca",
      "new_mode": 33188,
      "new_path": "absl/random/exponential_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "71be99ec0cb9b4a3b049750246a199b46416bdeb",
      "old_mode": 33188,
      "old_path": "absl/random/exponential_distribution_test.cc",
      "new_id": "ea167c9cd3e4de3500824e19c62fd0b30e56b541",
      "new_mode": 33188,
      "new_path": "absl/random/exponential_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "d14de0b2640a545fe3dc1dd494a1fdc9085db9b2",
      "old_mode": 33188,
      "old_path": "absl/random/gaussian_distribution.h",
      "new_id": "9511b3da5089ba681d250aa5511aba9fc4520256",
      "new_mode": 33188,
      "new_path": "absl/random/gaussian_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "65fd85a1bdd495a1577ef5ba9bee67475559a651",
      "old_mode": 33188,
      "old_path": "absl/random/gaussian_distribution_test.cc",
      "new_id": "c876f944b542b99ccc5b77f993d7f925c929c32f",
      "new_mode": 33188,
      "new_path": "absl/random/gaussian_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "e34249952fd65dfdba4e40296210d3dc1d92b6dc",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util.cc",
      "new_id": "237a1c8be692a8d082e612d6a9f90f1b22d6e60b",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util.cc"
    },
    {
      "type": "modify",
      "old_id": "e6e3544c36ca3faaf655c28ff60ee8ce5d7c5d59",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util.h",
      "new_id": "b7afbf40eeb8fafe62e08943f7ac06b4cbf40c66",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util.h"
    },
    {
      "type": "modify",
      "old_id": "f614e42f0fb6450ebf57e5e9ef725bcf0894e513",
      "old_mode": 33188,
      "old_path": "absl/random/internal/distribution_test_util_test.cc",
      "new_id": "4a777747ce96b8f70dac0d14b2fbeb6b32b6577a",
      "new_mode": 33188,
      "new_path": "absl/random/internal/distribution_test_util_test.cc"
    },
    {
      "type": "modify",
      "old_id": "05d9f839e1a3d47b532e0c8f0cedf6a62330b692",
      "old_mode": 33188,
      "old_path": "absl/random/internal/iostream_state_saver.h",
      "new_id": "985e0f83e60dee4d6c05a9c40ebb284b4f7df595",
      "new_mode": 33188,
      "new_path": "absl/random/internal/iostream_state_saver.h"
    },
    {
      "type": "modify",
      "old_id": "a196ace76ecb5812e5e272c1fc839218a93f38c0",
      "old_mode": 33188,
      "old_path": "absl/random/internal/iostream_state_saver_test.cc",
      "new_id": "8edbfe72d7589f9a91a089933ae7601088af4acd",
      "new_mode": 33188,
      "new_path": "absl/random/internal/iostream_state_saver_test.cc"
    },
    {
      "type": "modify",
      "old_id": "f85a1acdd221d9c632df071c69f65c74f40119c6",
      "old_mode": 33188,
      "old_path": "absl/random/internal/pcg_engine.h",
      "new_id": "e78539279790df016f54884474dc7eb24876d623",
      "new_mode": 33188,
      "new_path": "absl/random/internal/pcg_engine.h"
    },
    {
      "type": "modify",
      "old_id": "9b34cfe7eb35113079d5d567f5095d56abd17ed5",
      "old_mode": 33188,
      "old_path": "absl/random/internal/pcg_engine_test.cc",
      "new_id": "938dc85706d1c20ae2691d0e8e72be00d0743b1d",
      "new_mode": 33188,
      "new_path": "absl/random/internal/pcg_engine_test.cc"
    },
    {
      "type": "modify",
      "old_id": "91a6025295c7137334f618d94c5a132f3ed6be58",
      "old_mode": 33188,
      "old_path": "absl/random/internal/randen_engine.h",
      "new_id": "0f51462c0ff758d76c5694e97234738145312015",
      "new_mode": 33188,
      "new_path": "absl/random/internal/randen_engine.h"
    },
    {
      "type": "modify",
      "old_id": "73afaf3bc5487afcd49fff1dcbb5d1c8295d7ca3",
      "old_mode": 33188,
      "old_path": "absl/random/internal/randen_engine_test.cc",
      "new_id": "3f58184adbab5f53d392a7714522cee920049ffe",
      "new_mode": 33188,
      "new_path": "absl/random/internal/randen_engine_test.cc"
    },
    {
      "type": "modify",
      "old_id": "99abe05abb41feae58f320c72fab8d89209893e8",
      "old_mode": 33188,
      "old_path": "absl/random/log_uniform_int_distribution.h",
      "new_id": "8bcb60ef45b2737d649e6810ab8207dfcd08af19",
      "new_mode": 33188,
      "new_path": "absl/random/log_uniform_int_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "4404111b1f4a70a2c6496b10722d69f92bccee4d",
      "old_mode": 33188,
      "old_path": "absl/random/log_uniform_int_distribution_test.cc",
      "new_id": "403aaeac1562256e8019afdcfdeb54d8085bd8a8",
      "new_mode": 33188,
      "new_path": "absl/random/log_uniform_int_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "ae2e095be370ce6747ea5ede1bd41513d25392eb",
      "old_mode": 33188,
      "old_path": "absl/random/poisson_distribution.h",
      "new_id": "16ab7ab0d36f4962faf718b224085120b6253afa",
      "new_mode": 33188,
      "new_path": "absl/random/poisson_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "e8ee36436283fc9991458e9ae8e8bc43608e399d",
      "old_mode": 33188,
      "old_path": "absl/random/poisson_distribution_test.cc",
      "new_id": "4bdcf72f498c04cee65426b5da1c5fe0a9242240",
      "new_mode": 33188,
      "new_path": "absl/random/poisson_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "0dc7c62c3e330257dff266088acf267e9e9b19eb",
      "old_mode": 33188,
      "old_path": "absl/random/uniform_int_distribution.h",
      "new_id": "f5c884f2d2518ab32ac2e12d8551f544c267025c",
      "new_mode": 33188,
      "new_path": "absl/random/uniform_int_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "b055833c23e3787c9c16a70bbf6d171b897a7191",
      "old_mode": 33188,
      "old_path": "absl/random/uniform_int_distribution_test.cc",
      "new_id": "4150c641364fb62e780416d5d49f0ad1bb80f3e3",
      "new_mode": 33188,
      "new_path": "absl/random/uniform_int_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "79cf79336e88ea90cff0eceac2858346e217cb7d",
      "old_mode": 33188,
      "old_path": "absl/random/uniform_real_distribution.h",
      "new_id": "9ffb9c31cc9b9811ec056a2dcbec1cc452bd83a5",
      "new_mode": 33188,
      "new_path": "absl/random/uniform_real_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "11e1d6581bddf00f942383d098dc76076657995b",
      "old_mode": 33188,
      "old_path": "absl/random/uniform_real_distribution_test.cc",
      "new_id": "f42d1a501c683628cf6f9cbab0f902271110d710",
      "new_mode": 33188,
      "new_path": "absl/random/uniform_real_distribution_test.cc"
    },
    {
      "type": "modify",
      "old_id": "21e3b709b05cabd1852932e90a15c063ec9a25df",
      "old_mode": 33188,
      "old_path": "absl/random/zipf_distribution.h",
      "new_id": "50d94108e3827edac5b8af332f5a5ca94d2ada50",
      "new_mode": 33188,
      "new_path": "absl/random/zipf_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "f29aca5935a6a254132b890b6ebb84effbb88617",
      "old_mode": 33188,
      "old_path": "absl/random/zipf_distribution_test.cc",
      "new_id": "fcdf1106a92c1fca8c60110e8bd7b78150072c1c",
      "new_mode": 33188,
      "new_path": "absl/random/zipf_distribution_test.cc"
    }
  ]
}
