)]}'
{
  "commit": "c97d96b4e612c7dc1b37d7afc61b598a9a25994d",
  "tree": "0e6b16525e082f13bf06a31c9a4fb5e09e9655a0",
  "parents": [
    "aa444bd230f832d4e75cfac826255cfd66f545c3"
  ],
  "author": {
    "name": "Phil Elwell",
    "email": "phil@raspberrypi.org",
    "time": "Sun Sep 24 15:20:49 2017 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Wed Oct 18 15:09:45 2017 +0200"
  },
  "message": "staging: bcm2835-audio: Fix memory corruption\n\nThe previous commit (0adbfd46) fixed a memory leak but also freed a\nblock in the success case, causing a stale pointer to be used with\npotentially fatal results. Only free the vchi_instance block in the\ncase that vchi_connect fails; once connected, the instance is\nretained for subsequent connections.\n\nSimplifying the code by removing a bunch of gotos and returning errors\ndirectly.\n\nSigned-off-by: Phil Elwell \u003cphil@raspberrypi.org\u003e\nFixes: 0adbfd4694c2 (\"staging: bcm2835-audio: fix memory leak in bcm2835_audio_open_connection()\")\nCc: stable \u003cstable@vger.kernel.org\u003e # 4.12+\nTested-by: Stefan Wahren \u003cstefan.wahren@i2se.com\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f3d8f2339e34834d11edfa8de1d5819e3e32b4f",
      "old_mode": 33188,
      "old_path": "drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c",
      "new_id": "4be864dbd41c9f4eb63f03361a0dab1e13c54a67",
      "new_mode": 33188,
      "new_path": "drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c"
    }
  ]
}
