)]}'
{
  "commit": "ed8755d92b7734c8cc0569e073fc13de377b73f6",
  "tree": "a91d02be5bfee3b50e8286b5626df83b69bb9255",
  "parents": [
    "b2e8c5a20709ff8273236ab76f3a2caa9b83630e"
  ],
  "author": {
    "name": "Brian Duddie",
    "email": "bduddie@google.com",
    "time": "Thu Feb 15 15:02:29 2018 -0800"
  },
  "committer": {
    "name": "android-build-team Robot",
    "email": "android-build-team-robot@google.com",
    "time": "Fri Apr 13 22:58:25 2018 +0000"
  },
  "message": "Add bounds check to sensors direct channel creation\n\nAvoids attempting to read a 0-size array during input validation. Adds\nSafetyNet logging when this is triggered.\n\nAlso, change the cast for the ashmem size check from int to int64_t to\navoid potential conversion to negative number on 32-bit systems.\n\nBug: 70986337\nTest: run POC, confirm via logs that function bails early\nChange-Id: I674285738983f18de3466f9e818d83dabe269b7d\n(cherry picked from commit 0eb4624b33aeb375ae431a6b1e2b787c959968fe)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dc491d97c0877f83addc827218cab1cfb1e664e5",
      "old_mode": 33188,
      "old_path": "services/sensorservice/SensorService.cpp",
      "new_id": "e5b6dcf750336135bdfc9225e30c1290ea59da98",
      "new_mode": 33188,
      "new_path": "services/sensorservice/SensorService.cpp"
    }
  ]
}
