)]}'
{
  "commit": "fb232b56ca4dc37a70fd4e581a0fc2c56dda5e0a",
  "tree": "e839d05d99f850001a302bf4e51a5878b8582727",
  "parents": [
    "6902b610939fbe15887905a0e2390c2f46cb1eb9"
  ],
  "author": {
    "name": "Sergei Trofimovich",
    "email": "slyich@gmail.com",
    "time": "Thu Nov 02 19:58:46 2023 +0000"
  },
  "committer": {
    "name": "Mark Wielaard",
    "email": "mark@klomp.org",
    "time": "Fri Nov 03 00:19:53 2023 +0100"
  },
  "message": "libelf/elf_newscn.c: fix build failure against gcc-14 (-Walloc-size)\n\n`gcc-14` adde a new -Walloc-size warning that makes sure that size of an\nindividual element matches size of a pointed type:\n\n    https://gcc.gnu.org/PR71219\n\n`elfutils` triggers is on `calloc()` call where member size is sued as\n`1`.\n\n    elf_newscn.c: In function `elf_newscn`:\n    elf_newscn.c:97:12: error: allocation of insufficient size «1» for type «Elf_ScnList» with size «16» [-Werror\u003dalloc-size]\n       97 |       newp \u003d calloc (sizeof (Elf_ScnList)\n          |            ^\n\nThe change swaps arguments to pass larger value as a member size.\n\nSigned-off-by: Sergei Trofimovich \u003cslyich@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d6bdf1536aeba629976f3c5220742121eb7b55c7",
      "old_mode": 33188,
      "old_path": "libelf/elf_newscn.c",
      "new_id": "ec731f759de4772071f921eeff0270671dbc3862",
      "new_mode": 33188,
      "new_path": "libelf/elf_newscn.c"
    }
  ]
}
