)]}'
{
  "commit": "66dd4c38500c162323cb22cf723c5d3b72dacc17",
  "tree": "34ac89cf28f0a3ad69df2c9f7509f01e52507dfe",
  "parents": [
    "a281816c8aeb12619d34eec8959a43dfa5c6b4ec"
  ],
  "author": {
    "name": "Nick Alcock",
    "email": "nick.alcock@oracle.com",
    "time": "Mon Jul 29 12:45:09 2024 +0100"
  },
  "committer": {
    "name": "Nick Alcock",
    "email": "nick.alcock@oracle.com",
    "time": "Fri Aug 02 12:44:27 2024 +0100"
  },
  "message": "libctf: fix ref leak of names of newly-inserted non-root-visible types\n\nA bug in ctf_dtd_delete led to refs in the string table to the\nnames of non-root-visible types not being removed when the DTD\nwas.  This seems harmless, but actually it would lead to a write\ndown a pointer into freed memory if such a type was ctf_rollback()ed\nover and then the dict was serialized (updating all the refs as the\nstrtab was serialized in turn).\n\nBug introduced in commit fe4c2d55634c700ba527ac4183e05c66e9f93c62\n(\"libctf: create: non-root-visible types should not appear in name tables\")\nwhich is included in binutils 2.35.\n\nlibctf/\n\t* ctf-create.c (ctf_dtd_delete): Remove refs for all types\n\twith names, not just root-visible ones.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50f48eb1bb9298bb3f8fcbf5acb0459beed112d9",
      "old_mode": 33188,
      "old_path": "libctf/ctf-create.c",
      "new_id": "b85a97819e6158d0141745df6a7463f4e0c158df",
      "new_mode": 33188,
      "new_path": "libctf/ctf-create.c"
    }
  ]
}
