diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-21 01:00:22 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-21 01:07:49 +0200 |
commit | 5081929b600b976f5797222968343385402129ca (patch) | |
tree | 7a595f90b09243e1ff2103a47d78db57c1ba01ee /src/Driver | |
parent | 74b82118d5f77116ec5f4a1e2438cdc77cead40f (diff) | |
download | VeraCrypt-5081929b600b976f5797222968343385402129ca.tar.gz VeraCrypt-5081929b600b976f5797222968343385402129ca.zip |
Windows Driver: fix bug in new IOCTL VC_IOCTL_GET_DRIVE_GEOMETRY_EX
Diffstat (limited to 'src/Driver')
-rw-r--r-- | src/Driver/Ntdriver.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index ea9d725b..54fc5f03 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -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, |