Author: pschweitzer
Date: Thu Mar 2 19:39:07 2017
New Revision: 74026
URL:
http://svn.reactos.org/svn/reactos?rev=74026&view=rev
Log:
[DISK]
Fix return code when buffer is too small, as exposed in r74025.
CORE-12858
Modified:
trunk/reactos/drivers/storage/class/disk/disk.c
Modified: trunk/reactos/drivers/storage/class/disk/disk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/disk…
==============================================================================
--- trunk/reactos/drivers/storage/class/disk/disk.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/disk/disk.c [iso-8859-1] Thu Mar 2 19:39:07 2017
@@ -2062,7 +2062,7 @@
irpStack->Parameters.DeviceIoControl.OutputBufferLength <
sizeof(DISK_GEOMETRY_EX))) {
- status = STATUS_INFO_LENGTH_MISMATCH;
+ status = STATUS_BUFFER_TOO_SMALL;
break;
}