)]}'
{
  "commit": "daafebb58dac3de93ac4696dd334530b762ed67f",
  "tree": "24baa1ec2258e5751a1beb2d0c26fe2664a45063",
  "parents": [
    "54d57acf610e5db2e70afa234fd4018207606774"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Mon Aug 28 21:07:52 2023 +0930"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Mon Aug 28 23:10:57 2023 +0930"
  },
  "message": "COFF swap_aux_in\n\nA low level function like coff_swap_aux_in really has no business\nconcatenating multiple auxents for the old PE multi-aux scheme of\nhandling long file names.  In doing so, it assumes multiple internal\nauxent buffers are available, which they are not in most calls to\nbfd_coff_swap_aux_in, both inside BFD and outside, eg. GDB.  Buffer\noverflow fun.  Concatenating multiple auxents belongs at a higher\nlevel.\n\nThis required some changes to coff_get_normalized_symtab, which now\nuses the external auxents to access the concatenated file name.\n(Internal auxents are larger than the x_fname array, so the pieces of\nthe file name are not adjacent as they are in the external auxents.)\n\n\t* coffswap.h (coff_swap_aux_in): Do not write more than one\n\tinternal auxent.\n\t* coffcode.h (coff_bigobj_swap_aux_in): Likewise.\n\t* coffgen.c (coff_get_normalized_symtab): Normalize strings\n\tafter swapping in each symbol so that external auxents are\n\tavailable.  Use external auxents for multi-aux long file\n\tnames.  Formatting.  Wrap long lines.  Remove excess parens\n\tand unnecessary casts.  Don\u0027t zalloc when only the string\n\tterminator needs zeroing, and memcpy rather than strncpy.\n\tDelete unnecessary sanity check with unsigned _n_offset.\n\tReturn with failure if debug section can\u0027t be read, to avoid\n\ttrying to read it multiple times.  Correct sanity check\n\tagainst debug section size.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "908dc93c64acfbac13d8da286833cb6c0355608c",
      "old_mode": 33188,
      "old_path": "bfd/coffcode.h",
      "new_id": "0487555dda1911b0934df5289f0b47f7e0762adf",
      "new_mode": 33188,
      "new_path": "bfd/coffcode.h"
    },
    {
      "type": "modify",
      "old_id": "91667267cbc88005107c6605ca82c9abdf91173c",
      "old_mode": 33188,
      "old_path": "bfd/coffgen.c",
      "new_id": "c1aacc707b541001852a25f4640042c99b28bd08",
      "new_mode": 33188,
      "new_path": "bfd/coffgen.c"
    },
    {
      "type": "modify",
      "old_id": "190b8f02a0b6f0404b5f5f37ef8c9daeae5fe1d4",
      "old_mode": 33188,
      "old_path": "bfd/coffswap.h",
      "new_id": "f0677ff8857d8b109e1dfb751e97f9ce2bce0574",
      "new_mode": 33188,
      "new_path": "bfd/coffswap.h"
    }
  ]
}
