Skip to content

Commit

Permalink
Version 5.8.19
Browse files Browse the repository at this point in the history
  • Loading branch information
ufrisk committed Dec 12, 2023
1 parent 211e520 commit 81b005b
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 15 deletions.
4 changes: 2 additions & 2 deletions m_vmemd/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 8
#define VERSION_REVISION 18
#define VERSION_BUILD 138
#define VERSION_REVISION 19
#define VERSION_BUILD 139

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Plugin vmemd"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
4 changes: 2 additions & 2 deletions memprocfs/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 8
#define VERSION_REVISION 18
#define VERSION_BUILD 138
#define VERSION_REVISION 19
#define VERSION_BUILD 139

#define VER_FILE_DESCRIPTION_STR "MemProcFS"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
16 changes: 13 additions & 3 deletions vmm/modules/m_fc_ntfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -998,12 +998,21 @@ int FcNtfs2_FcIngestFinalize_MergeSortCompare(_In_ PFCNTFS2 *ppe1, _In_ PFCNTFS2
VOID FcNtfs2_FcIngestFinalize_MergeSort(_In_ VMM_HANDLE H, _In_ POB_FCNTFS2_INIT_CONTEXT ctx)
{
DWORD iEntry, cEntries, i;
DWORD cChildArrayMax = 0x00100000 / sizeof(PFCNTFS2);
PFCNTFS2 *pChildArray = (PFCNTFS2*)ctx->pb1M, pDir, pe;
DWORD cChildArrayMax = 0x80000; // 512k entries
PFCNTFS2 *pChildArray, pDir, pe;
pChildArray = (PFCNTFS2*)LocalAlloc(0, cChildArrayMax * sizeof(SIZE_T));
if(!pChildArray) {
VmmLog(H, ctx->MID, LOGLEVEL_1_CRITICAL, "Out of memory.");
return;
}
cEntries = ObMap_Size(ctx->pmMft);
for(iEntry = 0; iEntry < cEntries; iEntry++) {
pDir = (PFCNTFS2)ObMap_GetByIndex(ctx->pmMft, iEntry);
if((pDir->cChild < 2) && (pDir->cChild < (0x00100000 / sizeof(PFCNTFS2)))) { continue; }
if(pDir->cChild < 2) { continue; }
if(pDir->cChild >= cChildArrayMax) {
VmmLog(H, ctx->MID, LOGLEVEL_2_WARNING, "Large number of files (>%uk) in directory '%s'. If possible to share memory dump file create an issue @Github!", cChildArrayMax >> 10, pDir->uszName);
continue;
}
pe = pDir->pChild;
i = 0;
while(pe) {
Expand All @@ -1019,6 +1028,7 @@ VOID FcNtfs2_FcIngestFinalize_MergeSort(_In_ VMM_HANDLE H, _In_ POB_FCNTFS2_INIT
pDir->pChild = pe;
}
}
LocalFree(pChildArray);
}

int FcNtfs2_FcIngestFinalize_VolumeCountSort_Compare(PFCNTFS2_VOLUME p1, PFCNTFS2_VOLUME p2)
Expand Down
4 changes: 2 additions & 2 deletions vmm/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 8
#define VERSION_REVISION 18
#define VERSION_BUILD 138
#define VERSION_REVISION 19
#define VERSION_BUILD 139

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Core"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
4 changes: 2 additions & 2 deletions vmmpyc/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define VERSION_MAJOR 5
#define VERSION_MINOR 8
#define VERSION_REVISION 18
#define VERSION_BUILD 138
#define VERSION_REVISION 19
#define VERSION_BUILD 139

#define VER_FILE_DESCRIPTION_STR "MemProcFS : Python API"
#define VER_FILE_VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_BUILD
Expand Down
2 changes: 1 addition & 1 deletion vmmrust/leechcore_example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "leechcore_example"
version = "5.8.18"
version = "5.8.19"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion vmmrust/m_example_plugin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "m_example_plugin"
version = "5.8.18"
version = "5.8.19"
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion vmmrust/memprocfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "memprocfs"
version = "5.8.18"
version = "5.8.19"
edition = "2021"
description = "MemProcFS - Physical Memory Analysis Framework"
homepage = "https://github.com/ufrisk/MemProcFS"
Expand Down
2 changes: 1 addition & 1 deletion vmmrust/memprocfs_example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "memprocfs_example"
version = "5.8.18"
version = "5.8.19"
edition = "2021"
publish = false

Expand Down

0 comments on commit 81b005b

Please sign in to comment.