mirror of
https://github.com/winfsp/winfsp.git
synced 2026-10-31 15:32:35 -05:00
sys: FspSafeMdlCreate: testing
This commit is contained in:
1 parent
26b5d8a458
commit
9aca7e2e81
3 files changed
+17
-13
No files matched your search
@@ -34,8 +34,8 @@ void rdwr_noncached_dotest(ULONG Flags, PWSTR VolPrefix, PWSTR Prefix, ULONG Fil
|
||||
Success = GetDiskFreeSpaceW(FilePath, &SectorsPerCluster, &BytesPerSector, &FreeClusters, &TotalClusters);
|
||||
ASSERT(Success);
|
||||
|
||||
Buffer[0] = malloc(BytesPerSector);
|
||||
Buffer[1] = malloc(BytesPerSector);
|
||||
Buffer[0] = _aligned_malloc(BytesPerSector, BytesPerSector);
|
||||
Buffer[1] = _aligned_malloc(BytesPerSector, BytesPerSector);
|
||||
ASSERT(0 != Buffer[0] && 0 != Buffer[1]);
|
||||
|
||||
srand((unsigned)time(0));
|
||||
|
||||
Reference in new issue
Block a user