)]}'
{
  "commit": "dd83c161fbcc5d8be637ab159c0de015cbff5ba4",
  "tree": "7bdaafea2a36f2cae5a35411f40cf9580474b476",
  "parents": [
    "4ea77014af0d6205b05503d1c7aac6eace11d473"
  ],
  "author": {
    "name": "zhongjiang",
    "email": "zhongjiang@huawei.com",
    "time": "Mon Jul 10 15:53:01 2017 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Jul 10 16:32:36 2017 -0700"
  },
  "message": "kernel/exit.c: avoid undefined behaviour when calling wait4()\n\nwait4(-2147483648, 0x20, 0, 0xdd0000) triggers:\nUBSAN: Undefined behaviour in kernel/exit.c:1651:9\n\nThe related calltrace is as follows:\n\n  negation of -2147483648 cannot be represented in type \u0027int\u0027:\n  CPU: 9 PID: 16482 Comm: zj Tainted: G    B          ---- -------   3.10.0-327.53.58.71.x86_64+ #66\n  Hardware name: Huawei Technologies Co., Ltd. Tecal RH2285          /BC11BTSA              , BIOS CTSAV036 04/27/2011\n  Call Trace:\n    dump_stack+0x19/0x1b\n    ubsan_epilogue+0xd/0x50\n    __ubsan_handle_negate_overflow+0x109/0x14e\n    SyS_wait4+0x1cb/0x1e0\n    system_call_fastpath+0x16/0x1b\n\nExclude the overflow to avoid the UBSAN warning.\n\nLink: http://lkml.kernel.org/r/1497264618-20212-1-git-send-email-zhongjiang@huawei.com\nSigned-off-by: zhongjiang \u003czhongjiang@huawei.com\u003e\nCc: Oleg Nesterov \u003coleg@redhat.com\u003e\nCc: David Rientjes \u003crientjes@google.com\u003e\nCc: Aneesh Kumar K.V \u003caneesh.kumar@linux.vnet.ibm.com\u003e\nCc: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nCc: Xishi Qiu \u003cqiuxishi@huawei.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "608c9775a37bc9022759f60e54b1dfcc0c6522d7",
      "old_mode": 33188,
      "old_path": "kernel/exit.c",
      "new_id": "c5548faa9f377c5bf01f4a4db8e3020448565469",
      "new_mode": 33188,
      "new_path": "kernel/exit.c"
    }
  ]
}
