microsoft / microsoft/Windows-driver-samples

KMDOD sample is broken and does not load

Open
#1,270 2 comments 0 reactions 1 assignee View on GitHub

@Spruill-1 is already working on this.

Since Mar 20, 2025.

bug
Dominant language
C
Stars
7.8k
Forks
5k
Avg merge
3d 17h
Merged PRs (30d)
7

Description

Broken by merge of #1088

@JakobL-MSFT This change is broken. You cannot replace `ExAllocatePoolWithTag` with `ExAllocatePool2` directly because the argument type changed from `POOL_TYPE` to `POOL_FLAGS`. The driver will refuse to load with Code 31 (STATUS_NO_MEMORY). May I ask how this change was tested by Microsoft before being merged?

_Originally posted by @osy in https://github.com/microsoft/Windows-driver-samples/issues/1088#issuecomment-2557679709_

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.