A pointer returned by IoCreateNotificationEvent() is considered a free pool by the system.

Hi all
I see quite a strange thing sometimes: a pointer returned by
IoCreateNotificationEvent() is considered a free pool by the system
(later at attempt to allocate 0x62 bytes in non-paged pool by
ExAllocatePoolWithTag() a pointer to the event is returned).
Could anyone explain this please?
Thanx in advance.

wrote in message news:xxxxx@ntfsd…
>
> I see quite a strange thing sometimes: a pointer returned by
> IoCreateNotificationEvent() is considered a free pool by the system
>
> Could anyone explain this please?
>

Nah. The only way this can happen is if the event is freed subsequent to
the Create and before the alloc that returns the same memory block. Are you
closing the handle to the event someplace??

Peter
OSR