https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2fa7b1dcc1ddd8a9cf857…
commit 2fa7b1dcc1ddd8a9cf857286685c5e317119dfc2
Author: Thomas Faber <thomas.faber(a)reactos.org>
AuthorDate: Thu Jan 2 13:27:19 2020 +0100
Commit: Thomas Faber <thomas.faber(a)reactos.org>
CommitDate: Thu Jan 2 14:08:46 2020 +0100
[CDROM] Return the correct data length for IOCTL_DISK_GET_LENGTH_INFO. CORE-16607
---
drivers/storage/class/cdrom/cdrom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/class/cdrom/cdrom.c b/drivers/storage/class/cdrom/cdrom.c
index 220eb1fcf4f..2794e62f2ea 100644
--- a/drivers/storage/class/cdrom/cdrom.c
+++ b/drivers/storage/class/cdrom/cdrom.c
@@ -3287,7 +3287,7 @@ CdRomDeviceControlCompletion(
// update information field.
//
- realIrp->IoStatus.Information = sizeof(DISK_GEOMETRY);
+ realIrp->IoStatus.Information = sizeof(GET_LENGTH_INFORMATION);
break;
}