)]}'
{
  "commit": "b9d8871d3432048a47371e39f5b7413a40e4a774",
  "tree": "cec8de333b6bbcbcb8affc5967922c8f5dcc289f",
  "parents": [
    "e788c5a39dff773a545a728a01f07ae6bf614729"
  ],
  "author": {
    "name": "Mattia Giambirtone",
    "email": "nocturn9x@nocturn9x.space",
    "time": "Thu Nov 05 13:16:01 2026 +0100"
  },
  "committer": {
    "name": "mergify[bot]",
    "email": "37929162+mergify[bot]@users.noreply.github.com",
    "time": "Fri Nov 06 01:42:08 2026 +0000"
  },
  "message": "MdeModulePkg: Use unsigned memory type bounds checks\n\nSome compilers treat EFI_MEMORY_TYPE as signed. OS-reserved memory\ntypes with bit 31 set can therefore pass a signed comparison against\nEfiMaxMemoryType and index outside the memory type statistics array.\n\nCast the memory type to UINT32 before checking the array bound in\nCoreTerminateMemoryMap and InternalBuildMemoryAllocationHob, matching\nthe existing guards in the page, pool, and memory bin code.\n\nFixes: https://github.com/tianocore/edk2/issues/13451\nSigned-off-by: Mattia Giambirtone \u003cnocturn9x@nocturn9x.space\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a31b151334d38bbf3119c906d58986dd0a39359",
      "old_mode": 33188,
      "old_path": "MdeModulePkg/Core/Dxe/Mem/Page.c",
      "new_id": "ceab10423783549f9c029adc88ff1bd3a6093e61",
      "new_mode": 33188,
      "new_path": "MdeModulePkg/Core/Dxe/Mem/Page.c"
    },
    {
      "type": "modify",
      "old_id": "cf5c39c23b082d70111c724a5c5ad530aed87ed9",
      "old_mode": 33188,
      "old_path": "MdeModulePkg/Core/Pei/Memory/MemoryServices.c",
      "new_id": "67ea39616b8f1ee84a141c33c30963c1a689f5a4",
      "new_mode": 33188,
      "new_path": "MdeModulePkg/Core/Pei/Memory/MemoryServices.c"
    }
  ]
}
