From ff4f24bbb643848c7f653f1193d6ac3eecac9094 Mon Sep 17 00:00:00 2001 From: David Welch Date: Sun, 14 Mar 2004 18:27:08 +0000 Subject: [PATCH] - Removed setting of STATUS_DATA_OVERRUN in IoStatusBlock.Status when IoStatusBlock.Information is greater than the output buffer length passed in by the caller. svn path=/trunk/; revision=8725 --- reactos/ntoskrnl/io/cleanup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/ntoskrnl/io/cleanup.c b/reactos/ntoskrnl/io/cleanup.c index eb91d2a44cc..bf7858dda0a 100644 --- a/reactos/ntoskrnl/io/cleanup.c +++ b/reactos/ntoskrnl/io/cleanup.c @@ -44,7 +44,6 @@ VOID IoDeviceControlCompletion(PDEVICE_OBJECT DeviceObject, OutputBufferLength = Irp->IoStatus.Information; if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < OutputBufferLength) { - Irp->IoStatus.Status = STATUS_DATA_OVERRUN; OutputBufferLength = IoStack->Parameters.DeviceIoControl.OutputBufferLength; } }