)]}'
{
  "commit": "8433856947217ebb5697a8ff9c4c9cad4639a2cf",
  "tree": "c85e552f9a199f1996efbd103abebf6dd52cbc63",
  "parents": [
    "770f60586d2af0590be263f55fd079226313922c"
  ],
  "author": {
    "name": "Dan Carpenter",
    "email": "dan.carpenter@oracle.com",
    "time": "Tue May 12 16:19:17 2020 +0300"
  },
  "committer": {
    "name": "Mimi Zohar",
    "email": "zohar@linux.ibm.com",
    "time": "Thu May 14 19:55:54 2020 -0400"
  },
  "message": "evm: Fix a small race in init_desc()\n\nThe IS_ERR_OR_NULL() function has two conditions and if we got really\nunlucky we could hit a race where \"ptr\" started as an error pointer and\nthen was set to NULL.  Both conditions would be false even though the\npointer at the end was NULL.\n\nThis patch fixes the problem by ensuring that \"*tfm\" can only be NULL\nor valid.  I have introduced a \"tmp_tfm\" variable to make that work.  I\nalso reversed a condition and pulled the code in one tab.\n\nReported-by: Roberto Sassu \u003croberto.sassu@huawei.com\u003e\nFixes: 53de3b080d5e (\"evm: Check also if *tfm is an error pointer in init_desc()\")\nSigned-off-by: Dan Carpenter \u003cdan.carpenter@oracle.com\u003e\nAcked-by: Roberto Sassu \u003croberto.sassu@huawei.com\u003e\nAcked-by: Krzysztof Struczynski \u003ckrzysztof.struczynski@huawei.com\u003e\nSigned-off-by: Mimi Zohar \u003czohar@linux.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e1597e59606e6174942b2c400d283fe9c975e99",
      "old_mode": 33188,
      "old_path": "security/integrity/evm/evm_crypto.c",
      "new_id": "764b896cd628339ba1efc0047f1d069fd67406bd",
      "new_mode": 33188,
      "new_path": "security/integrity/evm/evm_crypto.c"
    }
  ]
}
