)]}'
{
  "commit": "995e157edbea8732769d63c3e0aecd29d6fa9774",
  "tree": "4b77728e50cfbf9245f11964fba966152cf0e274",
  "parents": [
    "48c21586a6776c91172f2ed5f9a63d0c22e08d16"
  ],
  "author": {
    "name": "tomlu",
    "email": "tomlu@google.com",
    "time": "Tue Jan 09 12:36:37 2018 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Tue Jan 09 12:38:07 2018 -0800"
  },
  "message": "Fix bug in unix_jni.cc that causes Path#exist to spuriously return true.\n\nWe use errno to signal an error in the stat call that gets passed back to Java land. However, between the time we make the failed stat syscall and the time that we read the final value of errno we will very rarely make other syscalls in between, which will stomp the value of errno back to 0. This will get interpreted as \"no error, the file exists\" by the VFS.\n\nThis bug has existed since 2009. Only a perturbation of the sequence of syscalls we make during startup has since caused the bug to surface.\n\nPiperOrigin-RevId: 181358035\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "571e22b72ef251ccc61afbbf10c225c6972f50f8",
      "old_mode": 33188,
      "old_path": "src/main/native/unix_jni.cc",
      "new_id": "bf72dced9a27bcfe4ad6a772a80fd83cbf3add5c",
      "new_mode": 33188,
      "new_path": "src/main/native/unix_jni.cc"
    }
  ]
}
