)]}'
{
  "commit": "47d7c01ba8a1241e919ab56dd01ba245b38fef8e",
  "tree": "5d4ffff8b9da1c2170d1664356cb3bc07b17c35a",
  "parents": [
    "f551be7b39c83d6c0515906bf3fc44f4c0cf16ce"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Fri Apr 17 20:36:42 2026 +1000"
  },
  "committer": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Fri Apr 17 21:21:16 2026 +1000"
  },
  "message": "libfdt: Fix bugs with unchecked usage of fdt_num_mem_rsv()\n\nfdt_num_mem_rsv() can return an error if the memory reservation block\nis not properly terminated with a (0, 0) entry.  However several other\nplaces in libfdt called it without checking for error returns, and could\ntherefore return strange results, or in the case of fdt_open_into()\ncrash.\n\nFix this by always checking the return value.  Add some addition tests to\ncatch this bug.\n\nReported-by: Moshe Strauss \u003cmoshestrauss10@gmail.com\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "63494fb7ad904ff8b3e54c12279e6e36c10eb85c",
      "old_mode": 33188,
      "old_path": "libfdt/fdt_ro.c",
      "new_id": "11f2e2ee0be3febc0805896840e9ec4429138c8f",
      "new_mode": 33188,
      "new_path": "libfdt/fdt_ro.c"
    },
    {
      "type": "modify",
      "old_id": "90ea14e944cc9bf71b92c0a9fb8081be8b592cbe",
      "old_mode": 33188,
      "old_path": "libfdt/fdt_rw.c",
      "new_id": "bea45ed496d3cf3b381e50ee97a921c5226d64d7",
      "new_mode": 33188,
      "new_path": "libfdt/fdt_rw.c"
    },
    {
      "type": "modify",
      "old_id": "fd7637ca2176048d254454415ad7f6b41a399b1c",
      "old_mode": 33188,
      "old_path": "libfdt/libfdt.h",
      "new_id": "8c7770ea2730de5027ef810cb704e941905fae4c",
      "new_mode": 33188,
      "new_path": "libfdt/libfdt.h"
    },
    {
      "type": "modify",
      "old_id": "3376ed981413612ea998962f549726efbd74ea0b",
      "old_mode": 33188,
      "old_path": "tests/.gitignore",
      "new_id": "a1f53ddc06810e65684497ba7fdf4366e1141dd9",
      "new_mode": 33188,
      "new_path": "tests/.gitignore"
    },
    {
      "type": "modify",
      "old_id": "05bb3b2e77706f3fba2d4ea4583e6d37a439f932",
      "old_mode": 33188,
      "old_path": "tests/Makefile.tests",
      "new_id": "94b3cf9df9f620bcf5b0df065fbcc2843942a231",
      "new_mode": 33188,
      "new_path": "tests/Makefile.tests"
    },
    {
      "type": "modify",
      "old_id": "37bfd473fb59dc1bc3fab7234ec1044ded7a46dd",
      "old_mode": 33188,
      "old_path": "tests/meson.build",
      "new_id": "4e669cea56f6a2bb19116643a9692c4329fe847e",
      "new_mode": 33188,
      "new_path": "tests/meson.build"
    },
    {
      "type": "modify",
      "old_id": "f07092b76b43a0f374824a2edcbadedc181df875",
      "old_mode": 33261,
      "old_path": "tests/run_tests.sh",
      "new_id": "34110c1a8b406944a2ab3663f4e03cdcf604f0f6",
      "new_mode": 33261,
      "new_path": "tests/run_tests.sh"
    },
    {
      "type": "modify",
      "old_id": "fcebc2c4d63605f6066433ea7628165e52b4ca04",
      "old_mode": 33188,
      "old_path": "tests/testdata.h",
      "new_id": "b29a759a52da83a2639b1f196cbe6861ccc2bf60",
      "new_mode": 33188,
      "new_path": "tests/testdata.h"
    },
    {
      "type": "modify",
      "old_id": "d69f7f1005b646c821e4d15605c49d4fcb67dd2b",
      "old_mode": 33188,
      "old_path": "tests/trees.S",
      "new_id": "3de95faad09836ae664e791e61cff40c1ecb286e",
      "new_mode": 33188,
      "new_path": "tests/trees.S"
    },
    {
      "type": "modify",
      "old_id": "d78036cc9d213834f32d2afc2a24c69d106e9f6d",
      "old_mode": 33188,
      "old_path": "tests/truncated_memrsv.c",
      "new_id": "b7ab4e768123cd8c9dbde48be7949b13504eaa73",
      "new_mode": 33188,
      "new_path": "tests/truncated_memrsv.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "441b8d7755e3b0d6be13afb51bcaf93625b7747b",
      "new_mode": 33188,
      "new_path": "tests/unterminated_memrsv.c"
    }
  ]
}
