)]}'
{
  "commit": "8156fb76d88845d716867d20333fd27001be47a8",
  "tree": "128715b3190ed32c1c8d4272a4d314f51af29372",
  "parents": [
    "19d9966572a410804349e1a8ee2017fed49a6dab"
  ],
  "author": {
    "name": "Wan-Teh Chang",
    "email": "wtc@google.com",
    "time": "Thu Apr 04 15:14:08 2024 -0700"
  },
  "committer": {
    "name": "Jerome Jiang",
    "email": "jianj@google.com",
    "time": "Mon Apr 22 14:47:56 2024 +0000"
  },
  "message": "Avoid integer overflows in align_image_dimension()\n\nImpose maximum values on the input parameters so that we can perform\narithmetic operations without worrying about overflows.\n\nFix a bug (introduced in commit 7aa2edc) that the ~ operator is applied\nto (stride_align - 1), which is unsigned int, and then the result is\nconverted to uint64_t.\n\nAlso change the AomImageTest.AomImgAllocHugeWidth test to write to the\nfirst and last samples in the first row of the Y plane, so that the test\nwill crash if there is unsigned integer overflow in the calculation of\nstride_in_bytes.\n\nBug: chromium:332382766\nChange-Id: I634c38c35a296b5bbf3de7ddf10040e7ec5ee9a1\n(cherry picked from commit 60653dff7f8ee3e769a0aeec5e210a4fc2687717)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7f02df0524ef4e2b36cdf5291a65aa80e63654be",
      "old_mode": 33188,
      "old_path": "aom/aom_image.h",
      "new_id": "68fb31222288f2ce020b87bd1fa6bd2f8350e2cb",
      "new_mode": 33188,
      "new_path": "aom/aom_image.h"
    },
    {
      "type": "modify",
      "old_id": "b68dc4c8fdf0eaaa0989c313c2f9df780c39d48d",
      "old_mode": 33188,
      "old_path": "aom/src/aom_image.c",
      "new_id": "e10b8a9ad12a10d8feb2986126d9bdee44b5839f",
      "new_mode": 33188,
      "new_path": "aom/src/aom_image.c"
    },
    {
      "type": "modify",
      "old_id": "62f3c12747e516f6d12a812690fbe73f8f9f163b",
      "old_mode": 33188,
      "old_path": "test/aom_image_test.cc",
      "new_id": "0dfb9122159e69261f79674402f9107f3341052d",
      "new_mode": 33188,
      "new_path": "test/aom_image_test.cc"
    }
  ]
}
