Author: pschweitzer
Date: Tue Dec 8 22:16:18 2015
New Revision: 70312
URL:
http://svn.reactos.org/svn/reactos?rev=70312&view=rev
Log:
[TCPIP]
Fix one test failure
Modified:
trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c
Modified: trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/dispatch.c [iso-8859-1] Tue Dec 8 22:16:18
2015
@@ -1672,7 +1672,8 @@
Irp->IoStatus.Information = 0;
- if (IrpSp->Parameters.DeviceIoControl.InputBufferLength < 2 * sizeof(ULONG)) {
+ if (IrpSp->Parameters.DeviceIoControl.InputBufferLength < 2 * sizeof(ULONG) ||
+ IrpSp->Parameters.DeviceIoControl.OutputBufferLength == 0) {
Status = STATUS_INVALID_BUFFER_SIZE;
goto Exit;
}