)]}'
{
  "commit": "a8279722faf7077d7f0965df0eb7e544fc18cc1f",
  "tree": "b4f7269c016a6782eabdf7bbcb36f1a81129d0db",
  "parents": [
    "2cd960f154ec9032480c59adf006010c9a9b99df"
  ],
  "author": {
    "name": "Albert Kong",
    "email": "albertkong@google.com",
    "time": "Fri Apr 10 13:56:51 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Jul 09 15:40:40 2026 -0700"
  },
  "message": "Fix URI grant persistence bypass\n\nPrevent IOException during XML serialization by checking string lengths\nbefore writing to the grants file. This stops a malicious app from\nindefinitely persisting a URI grant after revocation by providing an\noverly long URI.\n\nhashtag:b/262884935\nFixes: 262884935\nTest: atest UriGrantsManagerServiceTests\nFlag: EXEMPT BUGFIX\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:23a398d0f7a171f5f97c5f13052f9ee3bcf7c298\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:89932dbb52489cadcf7a2a10b0d63161a7134dbe\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:b82e30a8d9f7074fc5859ace40f3e8f6a68dc9e7\nMerged-In: I9f211dbfad84ce23222f256d4a8b18d976624345\nChange-Id: I9f211dbfad84ce23222f256d4a8b18d976624345\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1faba099a547f6b9c61302fd97900c5382a8b9b6",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/uri/UriGrantsManagerService.java",
      "new_id": "59b5703ba8fe3f9d5edfaa4deb95c5b3b230a4d8",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/uri/UriGrantsManagerService.java"
    },
    {
      "type": "modify",
      "old_id": "f3eeab0a4174aa38681badba30387e5d972127c5",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/uri/UriPermission.java",
      "new_id": "6a68896782502d069c9e5f0624662e30ce1d9a0b",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/uri/UriPermission.java"
    },
    {
      "type": "modify",
      "old_id": "e418d2f8d3280855d818a2ab336c9e539bf85346",
      "old_mode": 33188,
      "old_path": "services/tests/servicestests/src/com/android/server/uri/UriGrantsManagerServiceTest.java",
      "new_id": "4aa15f25b86dfc52cfa821dbcb4b661a29141224",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/uri/UriGrantsManagerServiceTest.java"
    }
  ]
}
