[CDROM] Return the correct data length for IOCTL_DISK_GET_LENGTH_INFO. CORE-16607
authorThomas Faber <thomas.faber@reactos.org>
Thu, 2 Jan 2020 12:27:19 +0000 (13:27 +0100)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 2 Jan 2020 13:08:46 +0000 (14:08 +0100)
drivers/storage/class/cdrom/cdrom.c

index 220eb1f..2794e62 100644 (file)
@@ -3287,7 +3287,7 @@ CdRomDeviceControlCompletion(
             // update information field.
             //
 
-            realIrp->IoStatus.Information = sizeof(DISK_GEOMETRY);
+            realIrp->IoStatus.Information = sizeof(GET_LENGTH_INFORMATION);
             break;
         }