aboutsummaryrefslogtreecommitdiff
path: root/libc/malloc_debug/MapData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/malloc_debug/MapData.cpp')
-rw-r--r--libc/malloc_debug/MapData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/malloc_debug/MapData.cpp b/libc/malloc_debug/MapData.cpp
index 8e9c80643..d57017e34 100644
--- a/libc/malloc_debug/MapData.cpp
+++ b/libc/malloc_debug/MapData.cpp
@@ -44,7 +44,7 @@ static MapEntry* parse_line(char* line) {
uintptr_t start;
uintptr_t end;
uintptr_t offset;
- char permissions[4];
+ char permissions[5];
int name_pos;
if (sscanf(line, "%" PRIxPTR "-%" PRIxPTR " %4s %" PRIxPTR " %*x:%*x %*d %n", &start,
&end, permissions, &offset, &name_pos) < 2) {