)]}'
{
  "commit": "e803b78e948518d6a51c6da7bf00a73a366ef205",
  "tree": "1ca832927f1326ecd1e7838721d2882b323cb37a",
  "parents": [
    "da53e539b44aad427b480d0ba70c714b6cdaf6ce"
  ],
  "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:47:07 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(cherry picked from commit d81c970e4d89a8a0935902b86f787a88619906f2)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ea2053fa432b49d6f29be6c72a3d0625350e869a",
      "old_mode": 33188,
      "old_path": "av1/encoder/var_based_part.c",
      "new_id": "1ddc1927613f51a6255cca1b2fa3d44fef331ebb",
      "new_mode": 33188,
      "new_path": "av1/encoder/var_based_part.c"
    },
    {
      "type": "modify",
      "old_id": "473b18d3e6669c5ee384f686082f82f04d4ec089",
      "old_mode": 33188,
      "old_path": "test/encode_api_test.cc",
      "new_id": "4540dde74bf35d8788a72c030462d57f8c0e36cf",
      "new_mode": 33188,
      "new_path": "test/encode_api_test.cc"
    }
  ]
}
