Fix core subsystem logic and safety bugs @Sirus20x6

This commit is contained in:
Jari Sundell
2026-04-17 18:54:46 +02:00
committed by GitHub
parent 4235507292
commit 1adcf230d2
10 changed files with 43 additions and 23 deletions
+3
View File
@@ -118,6 +118,9 @@ log_vmmap_dump(const std::string& str) {
FILE* log_file = fopen(str.c_str(), "w");
if (log_file == NULL)
throw torrent::input_error("Could not open log file: " + str);
for (auto& all_mapping : all_mappings) {
fprintf(log_file, "%8p-%8p [%5llxk]\n", all_mapping.ptr, (char*)all_mapping.ptr + all_mapping.length, (long long unsigned int)(all_mapping.length / 1024));
}