)]}'
{
  "commit": "dbd05b9edcf760a7001985f89bc760358a3c19d7",
  "tree": "58b47b9fb55f36eed931c768dbd17e48f53e8d9d",
  "parents": [
    "8186f0d31ddf339ba6803cde97ef6a6310ca2587"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Aug 20 10:45:09 2025 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Thu Aug 21 11:47:17 2025 +0100"
  },
  "message": "gdb/python: check return value of PyObject_New in all cases\n\nI spotted a few cases where the return value of PyObject_New was not\nbeing checked against nullptr, but we were dereferencing the result.\n\nAll fixed here.  The fixed functions can now return NULL, so I checked\nall the callers, and I believe there will handle a return of NULL\ncorrectly.\n\nAssuming calls to PyObject_New never fail, there should be no user\nvisible changes after this commit.\n\nNo tests here as I don\u0027t know how we\u0027d go about causing a Python\nobject allocation to fail.\n\nApproved-By: Simon Marchi \u003csimon.marchi@efficios.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fa7dd19228061bd9cfa802b81801b273053e0061",
      "old_mode": 33188,
      "old_path": "gdb/python/py-block.c",
      "new_id": "66ccad7e873f3abcee9b9ea2ba479318b882840c",
      "new_mode": 33188,
      "new_path": "gdb/python/py-block.c"
    },
    {
      "type": "modify",
      "old_id": "7e7904b0d3e8c79c9017ef2a5ed28bb246231681",
      "old_mode": 33188,
      "old_path": "gdb/python/py-record.c",
      "new_id": "89c2e7745e5724c6cac78482ccacfbf557add1b5",
      "new_mode": 33188,
      "new_path": "gdb/python/py-record.c"
    },
    {
      "type": "modify",
      "old_id": "dc078ecb5f7f9831bac5cbd947efb9e57dcc192f",
      "old_mode": 33188,
      "old_path": "gdb/python/py-unwind.c",
      "new_id": "43125bb67c15e304056d730dc706c9260686b14c",
      "new_mode": 33188,
      "new_path": "gdb/python/py-unwind.c"
    }
  ]
}
