)]}'
{
  "commit": "e5110f411d2ee35bf8d202ccca2e89c633060dca",
  "tree": "9fe7297901679cca05b459f9e7e524e99c534a7d",
  "parents": [
    "991f76f837bf22c5bb07261cfd86525a0a96650c"
  ],
  "author": {
    "name": "Ming Lei",
    "email": "ming.lei@canonical.com",
    "time": "Wed Mar 20 23:25:25 2013 +0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Mar 20 16:53:42 2013 -0700"
  },
  "message": "sysfs: handle failure path correctly for readdir()\n\nIn case of \u0027if (filp-\u003ef_pos \u003d\u003d  0 or 1)\u0027 of sysfs_readdir(),\nthe failure from filldir() isn\u0027t handled, and the reference counter\nof the sysfs_dirent object pointed by filp-\u003eprivate_data will be\nreleased without clearing filp-\u003eprivate_data, so use after free\nbug will be triggered later.\n\nThis patch returns immeadiately under the situation for fixing the bug,\nand it is reasonable to return from readdir() when filldir() fails.\n\nReported-by: Dave Jones \u003cdavej@redhat.com\u003e\nTested-by: Sasha Levin \u003clevinsasha928@gmail.com\u003e\nCc: \u003cstable@vger.kernel.org\u003e\nSigned-off-by: Ming Lei \u003cming.lei@canonical.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c9e16608f486a7a46002670c81b607ac06b6b7fc",
      "old_mode": 33188,
      "old_path": "fs/sysfs/dir.c",
      "new_id": "e14512678c9b7b8042f5ba55a329a0101849f606",
      "new_mode": 33188,
      "new_path": "fs/sysfs/dir.c"
    }
  ]
}
