Skip to content

Replace deprecated pool allocation in rundown protection - #355

Merged
Nicholas L (nmlud21) merged 2 commits into
mainfrom
nmlud21-fix-banned-exallocatepoolwithtag
Nov 25, 2026
Merged

Nicholas L (nmlud21) merged 2 commits into
mainfrom
nmlud21-fix-banned-exallocatepoolwithtag

Conversation

@nmlud21

@nmlud21 Nicholas L (nmlud21) commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace the ExAllocatePoolWithTag call in ExAllocateCacheAwareRundownProtection with ExAllocatePoolUninitialized to address warning C28751.
  • Preserve the pool type, tag, null handling, and immediate rundown initialization. Leave the legacy API available for callers that still use it.
  • Zero initialize cxplat_spin_lock_t lock to fix access violation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
@nmlud21 Nicholas L (nmlud21) changed the title Replace banned pool allocation in rundown protection Replace deprecated pool allocation in rundown protection Nov 25, 2026
@nmlud21
Nicholas L (nmlud21) merged commit 8120eed into main Nov 25, 2026
12 checks passed
@nmlud21
Nicholas L (nmlud21) deleted the nmlud21-fix-banned-exallocatepoolwithtag branch November 25, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants