This is an automated email from the git hooks/post-receive script. www-data pushed a commit to branch master in repository reactos.
View the commit online: https://git.reactos.org/?p=reactos.git;a=commitdiff;h=75f1637f37d8f5ae700e766aed7cc848e37e5f8f commit 75f1637f37d8f5ae700e766aed7cc848e37e5f8f Author: Pierre Schweitzer <pie...@reactos.org> AuthorDate: Wed Oct 4 21:13:25 2017 +0200 [CLASS2]: Fix status code on too small as exposed by kernel32:DeviceIoControl --- drivers/storage/class/class2/class2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/storage/class/class2/class2.c b/drivers/storage/class/class2/class2.c index 2f81022c5d..52fdf53d5e 100644 --- a/drivers/storage/class/class2/class2.c +++ b/drivers/storage/class/class2/class2.c @@ -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; } -- To stop receiving notification emails like this one, please contact the administrator of this repository.