)]}'
{
  "commit": "fde052fbd89c35617e14f628ca96e2d9ceff6c6f",
  "tree": "6aa461900580e1a9577fb944a30ca60644cbd634",
  "parents": [
    "3b54a25765919289f1bc38261b6b2bddb7b20a21"
  ],
  "author": {
    "name": "abuthahirm",
    "email": "abuthahirm@ami.com",
    "time": "Wed Aug 26 21:31:05 2026 +0530"
  },
  "committer": {
    "name": "mergify[bot]",
    "email": "37929162+mergify[bot]@users.noreply.github.com",
    "time": "Thu Oct 29 06:21:14 2026 +0000"
  },
  "message": "NetworkPkg/ArpDxe: Fix Coverity null-deref and integer overflow\n\nTwo Coverity-reported defects in ArpImpl.c:\n\n1. ArpSendFrame: When AllocatePool returns NULL, the existing code logs\n   an error and asserts, but then falls through and dereferences the NULL\n   Packet pointer into TmpPtr. In release builds where ASSERT is a no-op\n   this causes a null-dereference. Add \u0027goto CLEAN_EXIT\u0027 to exit cleanly.\n\n2. ArpFindCacheEntry: AllocatePool is called with \u0027FoundCount *\n   FoundEntryLength\u0027 where both operands are UINT32, so the\n   multiplication is done in 32 bits and can overflow before the result\n   is widened to UINTN. The root cause is that the UINTN value returned\n   by NetMapGetCount() is silently truncated to UINT32 when stored in\n   FoundCount.\n\n   Declare FoundCount as UINTN and drop the truncating cast on the\n   NetMapGetCount() return value, so the multiplication is performed at\n   pointer width. Since the EntryCount output parameter is a UINT32,\n   return EFI_OUT_OF_RESOURCES if FoundCount does not fit in 32 bits\n   instead of silently truncating it, and make the narrowing assignment\n   to *EntryCount explicit.\n\nCc: Saloni Kasbekar \u003csaloni.kasbekar@intel.com\u003e\nCc: Zachary Clark-williams \u003czachary.clark-williams@intel.com\u003e\nCc: Mike Beaton \u003cmjsbeaton@gmail.com\u003e\nSigned-off-by: Abuthahir M \u003cabuthahirm@ami.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9d0d4dcd2a33350f1aec38f9366908d8843fb586",
      "old_mode": 33188,
      "old_path": "NetworkPkg/ArpDxe/ArpImpl.c",
      "new_id": "c38151edf4ec65c77a5144c476749af6b08b2d1f",
      "new_mode": 33188,
      "new_path": "NetworkPkg/ArpDxe/ArpImpl.c"
    }
  ]
}
