)]}'
{
  "commit": "cd1be6e8bfb8e0ea88c2640ab35a89d12d280ec6",
  "tree": "682a3fef800195dd585b4e908ce08b8338301f19",
  "parents": [
    "e4df46f213d8d363017dce7ded5d1f2159614425"
  ],
  "author": {
    "name": "Christopher Ferris",
    "email": "cferris@google.com",
    "time": "Tue Apr 21 19:10:18 2026 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Jul 09 15:36:51 2026 -0700"
  },
  "message": "Fix bad free when limit exceeded.\n\nIf the android limit code is enabled and a realloc would cross the\nlimit, the old code would free the original pointer. However, this\nis invalid and the original pointer should not be changed.\n\nNo longer free the pointer in this case and add a test for this\ncase.\n\nBug: 501541998\nhashtag:b/501541998\n\nTest: All unit tests pass.\nTest: Verify that reverting back to old behavior, new test fails.\n(cherry picked from commit d00918bfbbe06d4a0841d52aabe6dea3a2432787)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:345215d183a59011b3cd4efa9745ef33415ab57b\nMerged-In: I52ccd62f4f513aa55989fb7dda816d13e3171120\nChange-Id: I52ccd62f4f513aa55989fb7dda816d13e3171120\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1405a39f251be88ba15c5f2acbf58a1373c8b94b",
      "old_mode": 33188,
      "old_path": "libc/bionic/malloc_limit.cpp",
      "new_id": "187b5ecebf8f9ed80506efe331f0b51822ffbf0e",
      "new_mode": 33188,
      "new_path": "libc/bionic/malloc_limit.cpp"
    },
    {
      "type": "modify",
      "old_id": "22905f42c5f2bce7d44a4affa5b53f9b89da6c48",
      "old_mode": 33188,
      "old_path": "tests/malloc_test.cpp",
      "new_id": "d9fc017157b2816ce85998f3e4d2ab14a007bc34",
      "new_mode": 33188,
      "new_path": "tests/malloc_test.cpp"
    }
  ]
}
