This commit is contained in:
lhodges1 2023-08-20 15:51:53 +10:00
parent fef772f75d
commit b991c8892a

View file

@ -411,6 +411,12 @@ NTSTATUS HandleValidateDriversIOCTL(
Irp->IoStatus.Information = sizeof( MODULE_VALIDATION_FAILURE_HEADER ) + Irp->IoStatus.Information = sizeof( MODULE_VALIDATION_FAILURE_HEADER ) +
MODULE_VALIDATION_FAILURE_MAX_REPORT_COUNT * sizeof( MODULE_VALIDATION_FAILURE ); MODULE_VALIDATION_FAILURE_MAX_REPORT_COUNT * sizeof( MODULE_VALIDATION_FAILURE );
RtlCopyMemory(
Irp->AssociatedIrp.SystemBuffer,
&header,
sizeof( MODULE_VALIDATION_FAILURE_HEADER )
);
for ( INT i = 0; i < head->count; i++ ) for ( INT i = 0; i < head->count; i++ )
{ {
/* make sure we free any non reported modules */ /* make sure we free any non reported modules */