[FILESYSTEMS] Fix pool memory disclosure in filesystem drivers supporting FS_INFORMAT...
[reactos.git] / drivers / filesystems / udfs / volinfo.cpp
index 2197fb2..470e911 100644 (file)
@@ -197,6 +197,9 @@ UDFCommonQueryVolInfo(
             try_return(RC);
         }
 #endif //UDF_ENABLE_SECURITY
+
+        RtlZeroMemory(Irp->AssociatedIrp.SystemBuffer, Length);
+
         switch (IrpSp->Parameters.QueryVolume.FsInformationClass) {
     
         case FileFsVolumeInformation: