)]}'
{
  "commit": "9899ff7feeb57349e032ca714ccb7d8f5cce8ca1",
  "tree": "afffa19c3eafd0cfa393f03e8a4260462d694c5f",
  "parents": [
    "b7b2f5d8658b5d08831f91c25400c9717b05dac1"
  ],
  "author": {
    "name": "Robin Lee",
    "email": "rgl@google.com",
    "time": "Tue Dec 24 22:02:08 2019 +0100"
  },
  "committer": {
    "name": "Robin Lee",
    "email": "rgl@google.com",
    "time": "Thu Dec 26 20:27:23 2019 +0100"
  },
  "message": "AudioFlinger: Fix getInputBufferSize() corruption\n\nThe uninitialized audio_config_t has a .frame_count which is typically\nnot used by HALs for this calculation. However, in the case where the\nHAL does use this, it can be any 32-bit value.\n\nAt best the HAL treats this as invalid or ignores it, but at worst the HAL\ncasts to uint32_t and causes the caller to request a ridiculous amount of\nmemory, leading to the process being killed with SIGABRT.\n\nFix: 146119742\nBug: 144245613\nBug: 144245318\nBug: 144000030\nTest: atest AudioRecord_BufferSizeTest\nChange-Id: I41714cb2058a6fe7a6a9f55b1fd7c8d862d69351\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d4153770be0825ee346736630b7338c110b85972",
      "old_mode": 33188,
      "old_path": "services/audioflinger/AudioFlinger.cpp",
      "new_id": "0f756bbf01d20da3f7a589e7a3542244d5541b2a",
      "new_mode": 33188,
      "new_path": "services/audioflinger/AudioFlinger.cpp"
    }
  ]
}
