Thanks Peter!
Futoshi
-----Original Message-----
From: Peter Wieland [mailto:xxxxx@windows.microsoft.com]
Sent: Saturday, September 14, 2002 12:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: [BugCheck 0xC2]
bugcheck 0xc2 occurs for many “bad” uses of pool. There is no specific
check for NULL but using a NULL pointer would probably turn into an
attempt to free unallocated memory and thus cause this bugcheck.
you should consider not handing NULL into ExFreePool.
-p
-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Thursday, September 12, 2002 7:44 PM
To: NT Developers Interest List
Subject: [ntdev] Re: [BugCheck 0xC2]
Thanks Roddy,
I would like to know whether we can say that we lead to BUGCHECK 0xC2
or not whenever kernel mode driver passed NULL POINTER to nt!ExFreePool.
Thanks a lot.
Futoshi
-----Original Message-----
From: Roddy, Mark [mailto:xxxxx@stratus.com]
Sent: Thursday, September 12, 2002 9:46 PM
To: NT Developers Interest List
Subject: [ntdev] Re: [BugCheck 0xC2]
Yes ExFreePool will bugcheck on null pointer.
-----Original Message-----
From: xxxxx@citrix.co.jp [mailto:xxxxx@citrix.co.jp]
Sent: Wednesday, September 11, 2002 10:38 PM
To: NT Developers Interest List
Subject: [ntdev] Re: [BugCheck 0xC2]
Hi, Mark
Thank you for your reply, Actually I have looked into windbg
document in regarding BUGCHECK 0xC2. This BSOD was caused
that our kernel mode driver passed NULL POINTER to
ExFreePool. maybe I though it did not take care about NULL
POINTER. As I have not developped kernel mode driver, I would
like to know whether BUGCHEC 0xC2 occurs or not whenever
kernel mode driver passed NULL POINTER to ExFreePool.
Thanks in advance,
Futoshi
-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Wednesday, September 11, 2002 9:39 PM
To: NT Developers Interest List
Subject: [ntdev] Re: [BugCheck 0xC2]
See “Bug Check 0xC2: BAD_POOL_CALLER” in the section “Bug Check Code
Reference” in the latest windbg documentation for complete
information
about this bugcheck code.
It is certainly a fatal error to call ExFreePool with any invalid
address.
Will you always get this bugcheck? I give up, probably.
===========================
Mark Roddy
Consultant, Microsoft DDK MVP
Hollis Technology Solutions
xxxxx@hollistech.com
www.hollistech.com
603-321-1032
-----Original Message-----
From: xxxxx@citrix.co.jp
To: “NT Developers Interest List”
> Date: Wed, 11 Sep 2002 18:03:33 +0900
> Subject: [ntdev] [BugCheck 0xC2]
>
> > Hi, all
> >
> > I have an quick question.
> > If kernel mode driver try to free null poiner using
> nt!ExFreePool(),
> > Can we say that we can get BSOD with BugCheck 0xC2 absolutely?
> >
> > I had an experience so that get BSOD with BugCheck 0xC2 when kernel
> > mode driver try to do so.
> >
> > Thanks in advance,
> > Futoshi
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@hollistech.com To
> > unsubscribe send a blank email to %%email.unsub%%
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@citrix.co.jp To unsubscribe send a blank email
> to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@stratus.com To unsubscribe send a blank email to
> %%email.unsub%%
>
—
You are currently subscribed to ntdev as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%
—
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
—
You are currently subscribed to ntdev as: xxxxx@citrix.co.jp
To unsubscribe send a blank email to %%email.unsub%%