)]}'
{
  "commit": "f495e37b88fc817e1bff95e2e36b68bb24cd8878",
  "tree": "fa1fcc6e4960d9aab75b59222c0f02d53d5833f4",
  "parents": [
    "21d17f58e0fa45f0dd07dd05e0547317b56e0f8c"
  ],
  "author": {
    "name": "Pranit Rane",
    "email": "pranitrane@google.com",
    "time": "Tue Jun 16 23:29:26 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Aug 21 14:25:49 2026 -0700"
  },
  "message": "[1] Fix potential OOM in PduParser by using stream skip\n\nAvoid allocating a large byte array when skipping values in PduParser.java. Instead of creating a byte array of the given length and reading into it, use InputStream.skip() which is safe and does not allocate memory. This prevents OutOfMemoryErrors when parsing malformed MMS PDUs with huge value lengths.\n\nAdditionally, refactored repeated bounds check logic into a helper method `isInvalidLength`.\n\nAdded PduParserTest to verify parsing bounds check with huge header lengths.\n\nBug: 517377150\nFlag: EXEMPT BUGFIX\nTest: atest MmsTest PduParserTest WapPushOverSmsTest\n\nCONV\u003d9f66c987-4e37-4f71-bbaf-df4cf7f39fd8\nTAG\u003dagy\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:e24a8efe07fdd636690c3e3058aeab979ebc93b2\nMerged-In: I46f37df0bd5aa6d75d5043d34b5e831b64b53f57\nChange-Id: I46f37df0bd5aa6d75d5043d34b5e831b64b53f57\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "775ef505ac2b0005cde3dde8420d666199d53d2d",
      "old_mode": 33261,
      "old_path": "telephony/common/com/google/android/mms/pdu/PduParser.java",
      "new_id": "67d6249bc9c4b3515236b1be48cfd0c7ac658065",
      "new_mode": 33261,
      "new_path": "telephony/common/com/google/android/mms/pdu/PduParser.java"
    },
    {
      "type": "modify",
      "old_id": "387e0b7f2b8b46b5bfd9e95ca61a267c273c2674",
      "old_mode": 33188,
      "old_path": "tests/TelephonyCommonTests/src/com/google/android/mms/pdu/PduParserTest.java",
      "new_id": "b963b3088d6f87ea27049409391ae08e254fe0cd",
      "new_mode": 33188,
      "new_path": "tests/TelephonyCommonTests/src/com/google/android/mms/pdu/PduParserTest.java"
    }
  ]
}
