mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[CLASS2]: Fix status code on too small as exposed by kernel32:DeviceIoControl
This commit is contained in:
committed by
GitHub
parent
9f8693a4e4
commit
75f1637f37
@@ -4059,9 +4059,9 @@ Return Value:
|
||||
if (irpStack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUNTDEV_NAME)) {
|
||||
|
||||
Irp->IoStatus.Information = 0;
|
||||
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
|
||||
Irp->IoStatus.Status = STATUS_INVALID_PARAMETER;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
status = STATUS_INVALID_PARAMETER;
|
||||
goto SetStatusAndReturn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user