> there IS no bug in Verifier in this instance.
Why does the properly-written driver crash then???
Did you actually take the time to read the docs on these functions and read the source
because they’re macros,or are you just going by intuition and feel
Did you actually take the time to read my post which says that, unlike IoCallDriver(), both IoCopyCurrentIrpStackLocationToNext() and IoSkipCurrentIrpStackLocation() are just macros, rather than kernel exports, or are you just going by intuition and feel (i.e. intuitively feel that I am about to criticize MSFT for something)??? Although you do have a good reason to feel so, based upon my numerous posts, on this particular occasion you are plainly wrong…
I know that doing your homework before you rant/troll isn’t necessarily your style.
Well, I am afraid in this respect I am just a kid compared to you - as I can see, you have really a supra-natural ability to argue with posts without actually even reading them…
When you enable I/O Verification, Verifier needs an I/O Stack Location for a completion routine.
It won’t have that if your driver “skips” the stack location by calling IoSkipCurrentIrpStackLocation.
Ergo, Verifier uses an I/O Stack Location (thus doing the
equivalent of IoCopyCurrentIrpStackLocationToNext) even in the case when your driver
indicates that the system should re-use the current one (by calling IoSkipCurrentIrpStackLocation).
Actually, this is exactly what I said in my post, but, as we have already established, you did not even bother yourself with reading it - instead, you went straight to accusations. The only thing I am speaking about is the moment when it does the above - I believe it must be the one when you call IoCallDriver()…
Perhaps provide a table of names that you’d prefer for each?
Look - you are the only one who, for the reasons better known to himself, speaks about names and naming conventions. In case if I wanted to troll, I would rather choose something more substantial than that. Apparently, you just missed the sarcasm of my statement - just few days ago you attacked UNIX naming convention (which, is, indeed, inconvenient - I don’t argue about it), so that my statement was meant just to demonstrate how insignificant this topic is…
Anton Bassov