)]}'
{
  "commit": "a3eb71adfea201f9e14980d8a96ea2e27ef52ad1",
  "tree": "2bba83828745cc3cf61d2f23ffd81fde8b7aedd0",
  "parents": [
    "f735116b3fb6dc30912e969d6e8c1b15bbaef510"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Nov 10 11:48:01 2022 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Nov 10 20:29:03 2022 +1030"
  },
  "message": "Sanity check reloc count in get_reloc_upper_bound\n\nThe idea here is the stop tools from allocating up to 32G per section\nfor the arelent pointer array, only to find a little later that the\nsection reloc count was fuzzed.  This usually doesn\u0027t hurt much (on\nsystems that allow malloc overcommit) except when compiled with asan.\n\nWe already do this for ELF targets, and while fixing the logic\nrecently I decided other targets ought to do the same.\n\n\t* elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Sanity check\n\tsection reloc count against file size.\n\t* mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.\n\t* aoutx.h (get_reloc_upper_bound): Likewise, and don\u0027t duplicate\n\tcheck done in bfd_get_reloc_upper_bound.\n\t* pdp11.c (get_reloc_upper_bound): Likewise.\n\t* coffgen.c (coff_get_reloc_upper_bound): Likewise.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4aed23426ca9a4959301cd88ffaf080665f22c5f",
      "old_mode": 33188,
      "old_path": "bfd/aoutx.h",
      "new_id": "61ea9f7ce047da2bb05dfb5f7bf0d30a064eb4aa",
      "new_mode": 33188,
      "new_path": "bfd/aoutx.h"
    },
    {
      "type": "modify",
      "old_id": "3e0fbc6184f513c1b4a4ca31794bd1ccba3f7dd9",
      "old_mode": 33188,
      "old_path": "bfd/coffgen.c",
      "new_id": "aab41c34ec79ec9d5eb7ffb461c67809b402c178",
      "new_mode": 33188,
      "new_path": "bfd/coffgen.c"
    },
    {
      "type": "modify",
      "old_id": "e9f03cf8e3a86bb79da458726ae3c3e1363c11eb",
      "old_mode": 33188,
      "old_path": "bfd/elf64-sparc.c",
      "new_id": "fb4483dcd17052796ee3847c54ad15df3aa38892",
      "new_mode": 33188,
      "new_path": "bfd/elf64-sparc.c"
    },
    {
      "type": "modify",
      "old_id": "5279343768c80dc881ed17892e2a5d8e0e7dc232",
      "old_mode": 33188,
      "old_path": "bfd/mach-o.c",
      "new_id": "664ff44a8e7ce288eca5d16cf4ef28a54cdb2c6b",
      "new_mode": 33188,
      "new_path": "bfd/mach-o.c"
    },
    {
      "type": "modify",
      "old_id": "9ef63cc311cb64a855a958750ee2c93af34938a1",
      "old_mode": 33188,
      "old_path": "bfd/pdp11.c",
      "new_id": "de9c8690e20e15bf1042dc893e7af8c08ce21557",
      "new_mode": 33188,
      "new_path": "bfd/pdp11.c"
    }
  ]
}
