mirror of
https://github.com/tnodir/fort
synced 2024-11-15 06:46:41 +00:00
Driver: Check device object on error tracing
This commit is contained in:
parent
0b6b7b3a5d
commit
a812c9617b
@ -7,7 +7,7 @@
|
||||
FORT_API void fort_trace_event(
|
||||
NTSTATUS event_code, NTSTATUS status, ULONG error_value, ULONG sequence)
|
||||
{
|
||||
if (KeGetCurrentIrql() > DISPATCH_LEVEL)
|
||||
if (KeGetCurrentIrql() > DISPATCH_LEVEL || fort_device() == NULL)
|
||||
return;
|
||||
|
||||
PIO_ERROR_LOG_PACKET packet =
|
||||
|
Loading…
Reference in New Issue
Block a user