)]}'
{
  "commit": "23aa2befce75966acd388b810e139922857533fa",
  "tree": "0b53ae068688c12f313eef7065fab9c0b9b33326",
  "parents": [
    "554128418b4f1328bb956d5926f24bfd56fd45ea"
  ],
  "author": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Wed Jul 20 13:57:08 2022 +0100"
  },
  "committer": {
    "name": "Andrew Burgess",
    "email": "aburgess@redhat.com",
    "time": "Mon Jul 25 19:26:24 2022 +0100"
  },
  "message": "gdb/python: fix invalid use disassemble_info::stream\n\nAfter this commit:\n\n  commit 81384924cdcc9eb2676dd9084b76845d7d0e0759\n  Date:   Tue Apr 5 11:06:16 2022 +0100\n\n      gdb: have gdb_disassemble_info carry \u0027this\u0027 in its stream pointer\n\nThe disassemble_info::stream field will no longer be a ui_file*.  That\ncommit failed to update one location in py-disasm.c though.\n\nWhile running some tests using the Python disassembler API, I\ntriggered a call to gdbpy_disassembler::print_address_func, and, as I\nhad compiled GDB with the undefined behaviour sanitizer, GDB crashed\nas the code currently (incorrectly) casts the stream field to be a\nui_file*.\n\nIn this commit I fix this error.\n\nIn order to test this case I had to tweak the existing test case a\nlittle.  I also spotted some debug printf statements in py-disasm.py,\nwhich I have removed.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4c78ca350c27ceb30427edcd05b1e0ea32d9eafe",
      "old_mode": 33188,
      "old_path": "gdb/python/py-disasm.c",
      "new_id": "c37452fcf729e7b852ef5d12dae5e21c154c3e90",
      "new_mode": 33188,
      "new_path": "gdb/python/py-disasm.c"
    },
    {
      "type": "modify",
      "old_id": "ee0bb157f4dd1abd1bc9fc0058e869e7af641cde",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-disasm.c",
      "new_id": "e5c4d2f1d0e710325f2736eb17bd2d3188372be7",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-disasm.c"
    },
    {
      "type": "modify",
      "old_id": "1b9cd4465ac994149f3b950e0b586942b77080e3",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-disasm.exp",
      "new_id": "1f94d3e60f3d613c2220a1ea15e57097771bf586",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-disasm.exp"
    },
    {
      "type": "modify",
      "old_id": "ff7ffdb97d9f76067925606b2572659d63b97d51",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.python/py-disasm.py",
      "new_id": "3b9008b1c54aad9c8c357a1e35a8c0f04deca017",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.python/py-disasm.py"
    }
  ]
}
