)]}'
{
  "commit": "6673ac14b3eaa09dbfe09798d3696c9222961b5e",
  "tree": "2413aa160b267d4d41754805188405338b2a4da3",
  "parents": [
    "4c1bdface8d17472333485e588be6028c639665a"
  ],
  "author": {
    "name": "Tommi",
    "email": "tommi@webrtc.org",
    "time": "Sun Jul 26 22:02:57 2026"
  },
  "committer": {
    "name": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Mon Jul 27 13:12:50 2026"
  },
  "message": "Fix saturated_cast double to int64_t conversion near overflow\n\nWhen converting double values near int64_t::max() (e.g. 2^63 - 8),\nstd::numeric_limits\u003cint64_t\u003e::max() cast to double rounds up to 2^63.\nThis causes the upper bound check to falsely succeed, leading to\nundefined behavior or negative results upon conversion.\n\nThis is fixed by using PowerOfTwo to perform exact boundary checks\nfor floating-point sources.\n\nFixed: webrtc:42220971\nChange-Id: I70e455566a6e3d6999f77ab31f3675435f542714\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/491740\nReviewed-by: Mirko Bonadei \u003cmbonadei@webrtc.org\u003e\nCommit-Queue: Tomas Gunnarsson \u003ctommi@webrtc.org\u003e\nCr-Commit-Position: refs/heads/main@{#48234}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "511985e9dcb522fad84d107cf459b8ce14c9d9d5",
      "old_mode": 33188,
      "old_path": "rtc_base/BUILD.gn",
      "new_id": "276a878ffcc9c2bcc2545c66595d76816d39c00c",
      "new_mode": 33188,
      "new_path": "rtc_base/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "99a3bc830604c10a9fa3e8023924add057b1d0f2",
      "old_mode": 33188,
      "old_path": "rtc_base/numerics/safe_conversions_impl.h",
      "new_id": "e918523a26fcfcc855d833f070f06f85a6a49e7a",
      "new_mode": 33188,
      "new_path": "rtc_base/numerics/safe_conversions_impl.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "141bfee82fb46957fdeda01c18780799da03e3f1",
      "new_mode": 33188,
      "new_path": "rtc_base/numerics/safe_conversions_unittest.cc"
    }
  ]
}
