Possible bug in scanner DDK sample

Possible bug in scanner DDK sample

Post by Tam » Tue, 10 Mar 2009 00:46:51


Hi,
I've been using scanner.sys as an example of a file filter.
When going over the code, I found a call to
RtlCompareUnicodeString - which according to the documentation can be
called at IRQL = PASSIVE_LEVE.
In the sample it is call from a function that can be called in other
IRQLs.

Is it a bug or - can I keep this call?

Thanks,
Tam
 
 
 

Possible bug in scanner DDK sample

Post by danie » Tue, 10 Mar 2009 19:00:06

The only place where I see it used is from the post create callback which is
called at PASSIVE_LEVEL.

//Daniel