mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-12 11:28:26 -06:00
Windows Driver: fix bug in new IOCTL VC_IOCTL_GET_DRIVE_GEOMETRY_EX
This commit is contained in:
@@ -1491,8 +1491,6 @@ NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex
|
||||
NTSTATUS ntStatus;
|
||||
DISK_GEOMETRY_EX geo = {0};
|
||||
|
||||
memset (g, 0, sizeof (DISK_GEOMETRY_EX_STRUCT));
|
||||
|
||||
EnsureNullTerminatedString (g->deviceName, sizeof (g->deviceName));
|
||||
|
||||
ntStatus = TCDeviceIoControl (g->deviceName,
|
||||
|
||||
Reference in New Issue
Block a user