)]}'
{
  "commit": "4b3be6afa4ab8b3fdce39df68bad71f8b85164de",
  "tree": "9022bd2b563fabc987e31277782076db42946bb7",
  "parents": [
    "b71207e9dc044b30d8b5d7f1c2290ba14563f05c"
  ],
  "author": {
    "name": "Julia Lawall",
    "email": "julia@diku.dk",
    "time": "Sat Oct 17 08:33:22 2009 +0200"
  },
  "committer": {
    "name": "Takashi Iwai",
    "email": "tiwai@suse.de",
    "time": "Fri Oct 30 12:01:27 2009 +0100"
  },
  "message": "ALSA: sound: Move dereference after NULL test and drop unnecessary NULL tests\n\nIn pcm.c, if the NULL test on pcm is needed, then the dereference should be\nafter the NULL test.\n\nIn dummy.c and ali5451.c, the context of the calls to\nsnd_card_dummy_new_mixer and snd_ali_free_voice show that dummy and pvoice,\nrespectively cannot be NULL.\n\nA simplified version of the semantic match that detects this problem is as\nfollows (http://coccinelle.lip6.fr/):\n\n// \u003csmpl\u003e\n@match exists@\nexpression x, E;\nidentifier fld;\n@@\n\n* x-\u003efld\n  ... when !\u003d \\(x \u003d E\\|\u0026x\\)\n* x \u003d\u003d NULL\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nSigned-off-by: Takashi Iwai \u003ctiwai@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c1440121c22c2f4ed8df37615c1241c17c5314e",
      "old_mode": 33188,
      "old_path": "sound/core/pcm.c",
      "new_id": "c69c60b2a48ab9e55f1b90575c92541e0226e849",
      "new_mode": 33188,
      "new_path": "sound/core/pcm.c"
    },
    {
      "type": "modify",
      "old_id": "6ba066c41d2e9bd5ab8d7c8e6f1eba438bda62af",
      "old_mode": 33188,
      "old_path": "sound/drivers/dummy.c",
      "new_id": "146ef00f94a3d31028a919932a688d809f078091",
      "new_mode": 33188,
      "new_path": "sound/drivers/dummy.c"
    },
    {
      "type": "modify",
      "old_id": "b458d208720b1c6ac010ab235e122e3dd407f6e5",
      "old_mode": 33188,
      "old_path": "sound/pci/ali5451/ali5451.c",
      "new_id": "aaf4da68969c4572c9201e06f8ddc47cbd711f60",
      "new_mode": 33188,
      "new_path": "sound/pci/ali5451/ali5451.c"
    }
  ]
}
