Closed ghost closed 1 year ago
I noticed this driver will bugcheck due to an invalid pointer reference. This happens when both nInBufferSize and lpOutBuffer are set to 0 for DeviceIoControl, leading to a buffer not being allocated.
DeviceIoControl( hDevice, 0x9c402000, lpInBuffer, 0, lpOutBuffer, 0, lpBytesReturned, lpOverlapped);
This happens at in several places throughout the code. I believe I've corrected them all.
@SecurityAndStuff, thank you very much for your contribution.
I noticed this driver will bugcheck due to an invalid pointer reference. This happens when both nInBufferSize and lpOutBuffer are set to 0 for DeviceIoControl, leading to a buffer not being allocated.
This happens at in several places throughout the code. I believe I've corrected them all.