[CDROM] Return the correct data length for IOCTL_DISK_GET_LENGTH_INFO. CORE-16607

This commit is contained in:
Thomas Faber 2020-01-02 13:27:19 +01:00
parent 06eb8cda99
commit 2fa7b1dcc1
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -3287,7 +3287,7 @@ CdRomDeviceControlCompletion(
// update information field.
//
realIrp->IoStatus.Information = sizeof(DISK_GEOMETRY);
realIrp->IoStatus.Information = sizeof(GET_LENGTH_INFORMATION);
break;
}