)]}'
{
  "commit": "d81c970e4d89a8a0935902b86f787a88619906f2",
  "tree": "eca9a9d344ca33fa0284ab8c9d17a43c745f8335",
  "parents": [
    "9440aeedd097343b763dfe1c75af72c99f4a3175"
  ],
  "author": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Sat Oct 17 07:55:30 2026 -0700"
  },
  "committer": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Tue Oct 20 09:34:24 2026 -0700"
  },
  "message": "Fix integer overflow when accumulating avg_16x16\n\nFix the following UBSan error by declaring the avg_16x16 array as\nint64_t instead of int:\n\naom/av1/encoder/var_based_part.c:1180:42: runtime error:\nsigned integer overflow: 1538995776 + 789353984 cannot be represented in\ntype \u0027int\u0027\n\nFix the following UBSan error by performing the multiplication in\nint64_t instead of uint32_t:\n\nav1/encoder/var_based_part.c:111:17: runtime error:\nunsigned integer overflow: 256 * 43468404 cannot be represented in type\n\u0027uint32_t\u0027 (aka \u0027unsigned int\u0027)\n\nI only fixed the symptom. I did not look into whether there was a deeper\nproblem.\n\nTested: test_libaom --gtest_filter\u003dEncodeAPI.Avg16x16IntegerOverflow\n\nBug: oss-fuzz:572842743\nChange-Id: Iae452cc0ec5bf3f06b298ccbe839b8be5e8d6a3b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a30a1302da16e5fd4798d1891ee447b5a2fcc7e",
      "old_mode": 33188,
      "old_path": "av1/encoder/var_based_part.c",
      "new_id": "3b16e659a644d4dfa7a12e9592083ba7f5aeddc8",
      "new_mode": 33188,
      "new_path": "av1/encoder/var_based_part.c"
    },
    {
      "type": "modify",
      "old_id": "eac1ec0261ee07e215afbd19890c51dd6cefcbd3",
      "old_mode": 33188,
      "old_path": "test/encode_api_test.cc",
      "new_id": "eb7497f3faaa1969b983583a4c30e21374634b2b",
      "new_mode": 33188,
      "new_path": "test/encode_api_test.cc"
    }
  ]
}
