)]}'
{
  "commit": "c91b1a42d4d87a418cd042fbef8d59d5aeab13a1",
  "tree": "dc213cea7aa05f6b270ae1562643764cff95ee25",
  "parents": [
    "a70151dfec390eb5f7fc5b266f51d601da2a7778"
  ],
  "author": {
    "name": "Dai Yanlong",
    "email": "daiyanlong@kylinos.cn",
    "time": "Sun Nov 01 14:56:41 2026 +0800"
  },
  "committer": {
    "name": "daiyanlong",
    "email": "daiyanlong@kylinos.cn",
    "time": "Wed Nov 18 17:25:45 2026 +0800"
  },
  "message": "libibnetdisc: Add NULL check after malloc in ibnetdisc.c\n\nAdd NULL pointer checks after malloc() calls to prevent potential\nsegmentation faults when memory allocation fails.\n\nThree instances in ibnetdisc.c allocate ni_cbdata structures without\nchecking if malloc() returns NULL before dereferencing the pointer:\n- Line 262 in mlnx_ext_port_info_err()\n- Line 311 in recv_mlnx_ext_port_info()\n- Line 422 in recv_port_info()\n\nThis could cause crashes under memory pressure conditions.\n\nSigned-off-by: Dai Yanlong \u003cdaiyanlong@kylinos.cn\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a24bcd16ffdc715e945ea3df6b142b93b432a3e",
      "old_mode": 33188,
      "old_path": "libibnetdisc/ibnetdisc.c",
      "new_id": "1563d873e8e69c6fd8f9f55c71a6828f61a8c7d3",
      "new_mode": 33188,
      "new_path": "libibnetdisc/ibnetdisc.c"
    }
  ]
}
