This commit is contained in:
2026-06-08 08:11:52 +02:00
parent 5da9598053
commit 36da9672d7
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
#define MIHP_USE_HEAP_STRUCTURE_CHECKSUM_VALIDATION 0 #define MIHP_USE_HEAP_STRUCTURE_CHECKSUM_VALIDATION 1
#define MIHP_USE_CANARY_VALIDATION 1 #define MIHP_USE_CANARY_VALIDATION 1
#define MIHP_HEAP_CORRUPTION_TYPE_MEMORY_AREA_CHECKSUM_MISMATCH 0 #define MIHP_HEAP_CORRUPTION_TYPE_MEMORY_AREA_CHECKSUM_MISMATCH 0

View File

@@ -21,7 +21,7 @@ void MIHP_PlatformOnHeapCorruptionDetected(MIHP_HeapCorruptionInfo info)
__debugbreak(); __debugbreak();
} }
#define NUM_ALLOCATIONS (4096 * 128) #define NUM_ALLOCATIONS (4096 * 32)
void* myptrs[NUM_ALLOCATIONS] = { 0 }; void* myptrs[NUM_ALLOCATIONS] = { 0 };