The problem is in “mydriver” not nt!MiUnProtectFreeNonPagedPool. It
is your new code that is broken.
Start from that assumption. You’ve already managed to corrupt the
heap, the stack trace from the bugcheck is just evidence of that
corruption.
Mark Roddy
On Tue, Sep 27, 2011 at 7:17 AM, wrote:
> mydriver