mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Zero memory before use
svn path=/trunk/; revision=31606
This commit is contained in:
@@ -181,6 +181,7 @@ NtfsQueryVolumeInformation(PDEVICE_OBJECT DeviceObject,
|
||||
FsInformationClass = Stack->Parameters.QueryVolume.FsInformationClass;
|
||||
BufferLength = Stack->Parameters.QueryVolume.Length;
|
||||
SystemBuffer = Irp->AssociatedIrp.SystemBuffer;
|
||||
RtlZeroMemory(SystemBuffer, BufferLength);
|
||||
|
||||
DPRINT("FsInformationClass %d\n", FsInformationClass);
|
||||
DPRINT("SystemBuffer %p\n", SystemBuffer);
|
||||
|
||||
Reference in New Issue
Block a user