mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[TCPIP]
Fix one test failure svn path=/trunk/; revision=70312
This commit is contained in:
parent
452bc55d4b
commit
cba476574d
1 changed files with 2 additions and 1 deletions
|
@ -1672,7 +1672,8 @@ NTSTATUS DispTdiQueryIpHwAddress( PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STA
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue