Predicting_real_estate_prices_using_scikit-learn icon indicating copy to clipboard operation
Predicting_real_estate_prices_using_scikit-learn copied to clipboard

[NTOS:IO] Complete the IRQ associated with a hard-error in case of rundown.

Open HBelusca opened this issue 5 years ago • 4 comments

Purpose

Fix few bugs encountered in IoRaiseHardError() while discussing with @Extravert-ir and @ThFabba.

JIRA issue: CORE-14037.

Proposed changes

~~- Fix buggy retrieval of the current calling Irp->Tail.Overlay.Thread.~~

~~- The 4th argument (KernelRoutine) to the KeInitializeApc() is NOT optional; however its 5th argument (RundownRoutine) is.~~

~~So use the mandatory routine for freeing the allocated APC, and use the optional routine to perform the rundown (when a thread exits while the APC is being executed) in order to just complete the associated IRP request.~~

~~- Check whether the ExAllocatePoolWithTag() call failed or not before queueing the allocated APC.~~

Use the optional routine to perform the rundown (when a thread exits while the APC is being executed) in order to complete the associated IRP request.

HBelusca avatar Oct 10 '20 16:10 HBelusca