)]}'
{
  "commit": "33da9468354b9b530712d4157298a8e0479cf2e5",
  "tree": "4ac2655af45af516376ec539e291ab6b521b7546",
  "parents": [
    "8f4e41d679d67436ee3868cab8785a35b3cc613f"
  ],
  "author": {
    "name": "Prabir Pradhan",
    "email": "prabirmsp@google.com",
    "time": "Tue Jun 14 14:55:57 2022 +0000"
  },
  "committer": {
    "name": "Prabir Pradhan",
    "email": "prabirmsp@google.com",
    "time": "Tue Jun 14 16:27:24 2022 +0000"
  },
  "message": "Layer: Guard against Region offset overflows\n\nWhen applying a transform to a Region, if the Region is translated to\nbounds that overlow the int32_t type, the process crashes.\n\nFor now, we guard against process crashes by manually applying the\noffset to the Region and checking for overflows. If we detect an\noverflow in one of the Rects in a Region, we remove the Rect from the\nresulting Region.\n\nBug: 234247210\nTest: atest libgui_test\nChange-Id: Icd47539accae2e59a7dbd9c9621201bd040fc402\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "262987fd27368718fdbefe438a96740508791c77",
      "old_mode": 33188,
      "old_path": "libs/gui/tests/EndToEndNativeInputTest.cpp",
      "new_id": "c6cdeb7706f04ba69d99b6114ea3bf9b50914ff8",
      "new_mode": 33188,
      "new_path": "libs/gui/tests/EndToEndNativeInputTest.cpp"
    },
    {
      "type": "modify",
      "old_id": "6ed4a94f25132bf5c937cb9cb4ee7a377c7c8d76",
      "old_mode": 33188,
      "old_path": "services/surfaceflinger/Layer.cpp",
      "new_id": "be16942d4045871642d61a61dba487bb0dd926b3",
      "new_mode": 33188,
      "new_path": "services/surfaceflinger/Layer.cpp"
    }
  ]
}
