)]}'
{
  "commit": "65ef03e09cea1242cb29d8facdac6ba01af98029",
  "tree": "0e5cfdd11f7ae4bce1a1236809514749eb0bc54e",
  "parents": [
    "4949ea9ed78ef75d7dbd9c85805a1aae5db7918e"
  ],
  "author": {
    "name": "Sebastian Ullrich",
    "email": "sebasti@nullri.ch",
    "time": "Tue Nov 24 20:09:56 2026 +0000"
  },
  "committer": {
    "name": "Sebastian Ullrich",
    "email": "sebasti@nullri.ch",
    "time": "Tue Nov 24 20:24:55 2026 +0000"
  },
  "message": "fix: report truncated `.olean` files as errors\n\nThis PR makes loading a truncated `.olean` file fail with an error message instead of reading beyond the end of the file.\n\nNote that Lean ultimately still has to trust in the overall integrity of `.olean` files.\n\n`lean_compacted_region_read` now checks the section framing against the file size: `data_size`, the closure offset table, and the library relocation table in `read_lib_table_from_buffer` must lie within the file, and each closure offset must lie within the compacted data.\n\nCo-Authored-By: Claude Fable 5.2 \u003cnoreply@anthropic.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e1e3b75f8d6467b08d5f82058e328da9edc32626",
      "old_mode": 33188,
      "old_path": "src/library/module.cpp",
      "new_id": "6f1362b97f4fe2ef4d88bbedc37757e5acfe4cca",
      "new_mode": 33188,
      "new_path": "src/library/module.cpp"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "4b2490bf7389bed8712fe135031517d6444d51b9",
      "new_mode": 33188,
      "new_path": "tests/compile/olean_truncated.lean"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "new_mode": 33188,
      "new_path": "tests/compile/olean_truncated.lean.no_interpret_test"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "ef6ee28beaa9c4491b30c2e59b288ba482c6b72f",
      "new_mode": 33188,
      "new_path": "tests/compile/olean_truncated.lean.out.expected"
    }
  ]
}
