https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0d745e0698846e01eee65f...
commit 0d745e0698846e01eee65f5e7f567cd83d4c1178 Author: Thomas Faber thomas.faber@reactos.org AuthorDate: Thu Jan 2 16:26:50 2020 +0100 Commit: Thomas Faber thomas.faber@reactos.org CommitDate: Thu Jan 2 16:36:15 2020 +0100
[DISK_NEW] Return correct info size in failure case of DiskIoctlGetPartitionInfoEx. --- drivers/storage/class/disk_new/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/storage/class/disk_new/disk.c b/drivers/storage/class/disk_new/disk.c index 3e3ec30f74f..1aad80609a1 100644 --- a/drivers/storage/class/disk_new/disk.c +++ b/drivers/storage/class/disk_new/disk.c @@ -6053,7 +6053,7 @@ DiskIoctlGetPartitionInfoEx(
status = STATUS_BUFFER_TOO_SMALL; Irp->IoStatus.Status = status; - Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION); + Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION_EX); return status; }