mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
ZeroMemory the correct amount of bytes
svn path=/trunk/; revision=27398
This commit is contained in:
@@ -695,7 +695,7 @@ ClassAddDevice(
|
||||
}
|
||||
|
||||
DeviceExtension = (PPORT_DEVICE_EXTENSION)Fdo->DeviceExtension;
|
||||
RtlZeroMemory(DeviceExtension, sizeof(PPORT_DEVICE_EXTENSION));
|
||||
RtlZeroMemory(DeviceExtension, sizeof(PORT_DEVICE_EXTENSION));
|
||||
DeviceExtension->Common.IsClassDO = FALSE;
|
||||
DeviceExtension->DeviceObject = Fdo;
|
||||
DeviceExtension->PnpState = dsStopped;
|
||||
|
||||
Reference in New Issue
Block a user